CVE-2021-33913
libspf2 before 1.2.11 has a heap-based buffer overflow that might allo ...
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut Ubuntu (mittel).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| alpine 3.14 | libspf2 | 1.2.11-r0 |
| alpine 3.15 | libspf2 | 1.2.11-r0 |
| alpine 3.16 | libspf2 | 1.2.11-r0 |
| alpine 3.17 | libspf2 | 1.2.11-r0 |
| alpine 3.18 | libspf2 | 1.2.11-r0 |
| alpine 3.19 | libspf2 | 1.2.11-r0 |
| alpine 3.20 | libspf2 | 1.2.11-r0 |
| alpine 3.21 | libspf2 | 1.2.11-r0 |
| alpine 3.22 | libspf2 | 1.2.11-r0 |
| alpine 3.23 | libspf2 | 1.2.11-r0 |
| alpine 3.24 | libspf2 | 1.2.11-r0 |
| alpine edge | libspf2 | 1.2.11-r0 |
Alle 23 Einträge aus 23 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| alpine 3.14 | libspf2 | 1.2.11-r0 |
| alpine 3.15 | libspf2 | 1.2.11-r0 |
| alpine 3.16 | libspf2 | 1.2.11-r0 |
| alpine 3.17 | libspf2 | 1.2.11-r0 |
| alpine 3.18 | libspf2 | 1.2.11-r0 |
| alpine 3.19 | libspf2 | 1.2.11-r0 |
| alpine 3.20 | libspf2 | 1.2.11-r0 |
| alpine 3.21 | libspf2 | 1.2.11-r0 |
| alpine 3.22 | libspf2 | 1.2.11-r0 |
| alpine 3.23 | libspf2 | 1.2.11-r0 |
| alpine 3.24 | libspf2 | 1.2.11-r0 |
| alpine edge | libspf2 | 1.2.11-r0 |
| debian 10 | libspf2 | 1.2.10-7.1~deb10u1 |
| debian 11 | libspf2 | 1.2.10-7.1~deb11u1 |
| debian 12 | libspf2 | 1.2.10-7.1 |
| debian 13 | libspf2 | 1.2.10-7.1 |
| debian 14 | libspf2 | 1.2.10-7.1 |
| debian 9 | libspf2 | 1.2.10-7+deb9u2 |
| echo | libspf2 | 1.2.10-7.1 |
| ubuntu 16.04-ESM | libspf2 | 1.2.10-6ubuntu0.1~esm2 |
| ubuntu 18.04-ESM | libspf2 | 1.2.10-7ubuntu0.18.04.1~esm1 |
| ubuntu 20.04 | libspf2 | 1.2.10-7+deb9u2build0.20.04.1 |
| ubuntu 20.04-ESM | libspf2 | 1.2.10-7+deb9u2build0.20.04.1 |
Referenzen
- https://github.com/shevek/libspf2/commit/f06fef6cede4c4cb42f2c617496e6041782d7070
- https://github.com/shevek/libspf2/tree/8131fe140704eaae695e76b5cd09e39bd1dd220b
- https://lists.debian.org/debian-lts-announce/2022/01/msg00015.html
- https://nathanielbennett.com/blog/libspf2-cve-jan-2022-disclosure
- https://security.gentoo.org/glsa/202401-22
- https://ubuntu.com/security/notices/USN-6584-1
- https://ubuntu.com/security/notices/USN-6584-2
- https://www.cve.org/CVERecord?id=CVE-2021-33913