{"id":"CVE-2021-33912","state":"PUBLISHED","title":"libspf2 before 1.2.11 has a four-byte heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on","description":"libspf2 before 1.2.11 has a four-byte 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 incorrect sprintf usage in SPF_record_expand_data in spf_expand.c. 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.","publishedAt":"2022-01-19T00:00:00.000Z","updatedAt":"2024-08-04T00:05:52.118Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/shevek/libspf2/tree/8131fe140704eaae695e76b5cd09e39bd1dd220b","https://nathanielbennett.com/blog/libspf2-cve-jan-2022-disclosure","https://lists.debian.org/debian-lts-announce/2022/01/msg00015.html","https://security.gentoo.org/glsa/202401-22"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:36.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/33xxx/CVE-2021-33912.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-33912","state":"PUBLISHED","datePublished":"2022-01-19T00:00:00.000Z","dateUpdated":"2024-08-04T00:05:52.118Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-06-07T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"libspf2 before 1.2.11 has a four-byte 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 incorrect sprintf usage in SPF_record_expand_data in spf_expand.c. 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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/shevek/libspf2/tree/8131fe140704eaae695e76b5cd09e39bd1dd220b"},{"url":"https://nathanielbennett.com/blog/libspf2-cve-jan-2022-disclosure"},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00015.html","name":"[debian-lts-announce] 20220121 [SECURITY] [DLA 2890-1] libspf2 security update","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202401-22","name":"GLSA-202401-22","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-01-15T17:06:19.307Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/shevek/libspf2/tree/8131fe140704eaae695e76b5cd09e39bd1dd220b","tags":["x_transferred"]},{"url":"https://nathanielbennett.com/blog/libspf2-cve-jan-2022-disclosure","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00015.html","name":"[debian-lts-announce] 20220121 [SECURITY] [DLA 2890-1] libspf2 security update","tags":["mailing-list","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202401-22","name":"GLSA-202401-22","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T00:05:52.118Z"}}]}}}