Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-33913

9.8 · CRITICAL
Published Jan 19, 2022 libspf2_project CWE-787 EPSS 9.64% (95th pctl)

Overview

CVE-2021-33913 is a critical-severity vulnerability affecting libspf2_project libspf2. It was published on January 19, 2022 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from libspf2_project. Update libspf2 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
libspf2_project libspf2 >= 0, < 1.2.11 Affected

Frequently Asked Questions

What is CVE-2021-33913?

CVE-2021-33913 is a critical-severity vulnerability affecting libspf2_project libspf2. It was published on January 19, 2022 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2021-33913?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-33913?

Check the references section for vendor advisories and patches from libspf2_project. Update libspf2 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-33913?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-33913 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.