PT-2021-3909 · Libspf2+4 · Libspf2+4

Dhananjay Arunesh

·

Published

2021-08-11

·

Updated

2024-11-26

·

CVE-2021-20314

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions libspf2 versions prior to 1.2.11
Description The issue is related to a stack buffer overflow in libspf2 when processing certain SPF macros, which can lead to Denial of service and potentially code execution via maliciously crafted SPF explanation messages. This can be exploited by a remote attacker to execute arbitrary code by overflowing the stack buffer.
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 processing of SPF macros to minimize the risk of exploitation. Avoid using libspf2 with untrusted input until the issue is resolved.

Fix

DoS

Stack Overflow

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-3046
ALT-PU-2022-2548
ALT-PU-2024-1215
BDU:2021-04420
CVE-2021-20314
DLA-2739-1
DSA-4955-1
MGASA-2021-0414
MGASA-2021-0454
OPENSUSE-SU-2021:1187-1
OPENSUSE-SU-2021_1187-1
OPENSUSE-SU-2024:10995-1
ROSA-SA-2024-2528
USN-6584-1

Affected Products

Alt Linux
Linuxmint
Suse
Ubuntu
Libspf2