CVE-2021-33912

Critical

Description

libspf2 before 1.2.11 has a four-byte 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 incorrect sprintf usage in SPF_record_expand_data in spf_expand.c. 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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductLibspf2
PublishedJan 19, 2022
First seenJan 19, 2022

How to fix

Update
  • libspf2_project libspf21.2.11 or later

Affected products

ProductAffected versionsFixed in
libspf2_project libspf2v < 1.2.111.2.11
debian debian_linux9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.