CVE-2021-33913

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-33913
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33913.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-33913
Downstream
Published
2022-01-19T18:15:07Z
Modified
2025-08-09T19:01:27Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 SPFrecordexpanddata in spfexpand.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.

References

Affected packages