PT-2022-10299 · Exim+5 · Exim+5
Published
2021-10-15
·
Updated
2024-11-26
·
CVE-2021-33912
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
libspf2 versions prior to 1.2.11
Description
The issue is related to 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. This is due to 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, but most often it is not.
Recommendations
For versions prior to 1.2.11, update to version 1.2.11 or later to resolve the issue. As a temporary workaround, consider restricting the use of libspf2 in e-mail infrastructure configurations until a patch is applied. Avoid using libspf2 with additional configuration in Exim or with unofficial patches for Postfix until the issue is resolved.
Exploit
Fix
RCE
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Exim
Linuxmint
Postfix
Ubuntu
Libspf2