CVE-2021-33913

Published Jan 19, 2022 CVSS 3.1 · 9.8 Critical EPSS 10.3% KEV · Not listed
Description
libspf2 before 1.2.11 has a heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of SPF_record_expand_data in spf_expand.c. The amount of overflowed data depends on the relationship between the length of an entire domain name and the length of its leftmost label. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2890-1 libspf2 security update
Ubuntu USN Ubuntu USN USN-6584-1 Libspf2 vulnerabilities
Ubuntu USN Ubuntu USN USN-6584-2 Libspf2 vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 12:05 AM
Reserved
Jun 7, 2021, 12:00 AM
Status
Modified
Published
Jan 19, 2022, 6:15 PM
Modified
Jun 17, 2026, 3:55 AM