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.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-libspf2 | Mar 26, 2024 | Jan 19, 2022 | |
| Debian | debian-upgrade-libspf2 | Jan 24, 2022 | Jan 19, 2022 | |
| Gentoo Linux | gentoo-linux-upgrade-mail-filter-libspf2 | Jan 16, 2024 | Jan 19, 2022 | |
| Ubuntu | ubuntu-pro-upgrade-libmail-spf-xs-perlubuntu-pro-upgrade-libspf2-2ubuntu-pro-upgrade-libspf2-devubuntu-pro-upgrade-spfqueryubuntu-upgrade-libmail-spf-xs-perlubuntu-upgrade-libspf2-2ubuntu-upgrade-libspf2-devubuntu-upgrade-spfquery | Jan 16, 2024 | Jan 19, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub