CVE-2021-33913: Buffer Overflow

Published Jan 19, 2022
·
Updated

Last updated 24 July 2024

Other sources

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 SPFrecordexpanddata in spfexpand.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.

Affected Software

2 affected componentsFixes available
debian/libspf2
1.2.10-7.1~deb11u11.2.10-7.21.2.10-8.2
Libspf2 Project Libspf2<1.2.11

Event History

Jan 19, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jan 19, 2024
Data Sourced
via Launchpad·09:07 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·09:48 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-33913?

CVE-2021-33913 refers to a heap-based buffer overflow vulnerability in libspf2 before version 1.2.11.

2

How does CVE-2021-33913 affect the Libspf2 project?

CVE-2021-33913 affects the Libspf2 project by allowing remote attackers to execute arbitrary code via a crafted SPF DNS record.

3

What is the severity of CVE-2021-33913?

CVE-2021-33913 has a severity rating of 9.8, which is considered critical.

4

How can CVE-2021-33913 be fixed?

To fix CVE-2021-33913, users should update to libspf2 version 1.2.11 or later.

5

What are the references for CVE-2021-33913?

References for CVE-2021-33913 include GitHub repository, Debian LTS announcement, and a blog post.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203