CVE-2021-33913
Published: 19 January 2022
libspf2 before 1.2.11 has a 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 SPF_record_expand_data in spf_expand.c. The amount of overflowed data depends on the relationship between the length of an entire domain name and the length of its leftmost label. 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.
Priority
Status
Package | Release | Status |
---|---|---|
libspf2 Launchpad, Ubuntu, Debian |
bionic |
Released
(1.2.10-7ubuntu0.18.04.1~esm1)
Available with Ubuntu Pro |
focal |
Released
(1.2.10-7+deb9u2build0.20.04.1)
|
|
hirsute |
Ignored
(end of life)
|
|
impish |
Ignored
(end of life)
|
|
jammy |
Not vulnerable
(1.2.10-7.1ubuntu1)
|
|
kinetic |
Ignored
(end of life, was needs-triage)
|
|
lunar |
Not vulnerable
(1.2.10-7.1ubuntu1)
|
|
mantic |
Not vulnerable
(1.2.10-7.1ubuntu1)
|
|
noble |
Not vulnerable
(noble 1.2.10-8)
|
|
upstream |
Needs triage
|
|
xenial |
Released
(1.2.10-6ubuntu0.1~esm2)
Available with Ubuntu Pro |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |