PT-2022-10299 · Exim+5 · Exim+5

Published

2021-10-15

·

Updated

2024-11-26

·

CVE-2021-33912

CVSS v3.1

9.8

Critical

VectorAV: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

Weakness Enumeration

Related Identifiers

ALT-PU-2021-3046
ALT-PU-2022-2548
ALT-PU-2024-1215
CVE-2021-33912
DLA-2890-1
ROSA-SA-2024-2528
USN-6584-1
USN-6584-2

Affected Products

Alt Linux
Exim
Linuxmint
Postfix
Ubuntu
Libspf2