ALPINE-CVE-2021-33912

Source
https://security.alpinelinux.org/vuln/CVE-2021-33912
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2021-33912
Upstream
Published
2022-01-19T18:15:07Z
Modified
2026-08-27T22:18:01Z
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 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.

References

Affected packages

Alpine:v3.14
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.15
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.16
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.17
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.18
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.19
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.20
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.21
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.22
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.23
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"
Alpine:v3.24
libspf2

Package

Name
libspf2
Purl
pkg:apk/alpine/libspf2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.11-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-33912.json"