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

EcosystemPackageFixed inAdvisory
Alpine:v3.20libspf21.2.10-r5ALPINE-CVE-2021-20314
Alpine:v3.21libspf21.2.10-r5, 1.2.11-r4ALPINE-CVE-2021-20314
Alpine:v3.22libspf21.2.10-r5, 1.2.11-r4ALPINE-CVE-2021-20314
Alpine:v3.23libspf21.2.10-r5, 1.2.11-r4ALPINE-CVE-2021-20314
Alpine:v3.24libspf21.2.10-r5, 1.2.11-r4ALPINE-CVE-2021-20314
Debian:12libspf21.2.10-7.1DEBIAN-CVE-2021-20314
Debian:13libspf21.2.10-7.1DEBIAN-CVE-2021-20314
Debian:14libspf21.2.10-7.1DEBIAN-CVE-2021-20314

Affected products (as reported)

VendorProductVersions
n/a libspf2 1.2.11

References