Vulnerability · Published Aug 12, 2021 · Assigned by redhat
CVE-2021-20314
Critical 9.8
In plain English
A critical-severity security flaw in libspf2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.8%top 13.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Stack buffer overflow in libspf2 versions below 1.2.11 when processing certain SPF macros can lead to Denial of service and potentially code execution via malicious crafted SPF explanation messages.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | libspf2 | 1.2.10-r5 | ALPINE-CVE-2021-20314 |
| Alpine:v3.21 | libspf2 | 1.2.10-r5, 1.2.11-r4 | ALPINE-CVE-2021-20314 |
| Alpine:v3.22 | libspf2 | 1.2.10-r5, 1.2.11-r4 | ALPINE-CVE-2021-20314 |
| Alpine:v3.23 | libspf2 | 1.2.10-r5, 1.2.11-r4 | ALPINE-CVE-2021-20314 |
| Alpine:v3.24 | libspf2 | 1.2.10-r5, 1.2.11-r4 | ALPINE-CVE-2021-20314 |
| Debian:12 | libspf2 | 1.2.10-7.1 | DEBIAN-CVE-2021-20314 |
| Debian:13 | libspf2 | 1.2.10-7.1 | DEBIAN-CVE-2021-20314 |
| Debian:14 | libspf2 | 1.2.10-7.1 | DEBIAN-CVE-2021-20314 |
Affected products (as reported)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1993070 x_refsource_MISC
- FEDORA-2021-aa8637c985 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-994751581f vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-044be3d54e vendor-advisory, x_refsource_FEDORA
- https://security.gentoo.org/glsa/202401-22