CVE-2021-33913: Buffer Overflow
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
Event History
Frequently Asked Questions
What is CVE-2021-33913?
CVE-2021-33913 refers to a heap-based buffer overflow vulnerability in libspf2 before version 1.2.11.
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.
What is the severity of CVE-2021-33913?
CVE-2021-33913 has a severity rating of 9.8, which is considered critical.
How can CVE-2021-33913 be fixed?
To fix CVE-2021-33913, users should update to libspf2 version 1.2.11 or later.
What are the references for CVE-2021-33913?
References for CVE-2021-33913 include GitHub repository, Debian LTS announcement, and a blog post.