portage-ng / portage / mail-filter / libspf2 / 1.2.11-r1
portage-ng glsa
2 advisories reference mail-filter/libspf2 · none place version 1.2.11-r1 in a vulnerable range
▸ GLSA 202401-22 libspf2: Multiple vulnerabilities this version unaffected normal remote 2024-01-15

Multiple vulnerabilities have been discovered in libspf2, the worst of which can lead to remote code execution.

Announced
2024-01-15
Revised
2024-01-15
Access
remote
Bugs
#807739
Advisory
https://security.gentoo.org/glsa/202401-22

Affected packages

PackageArchVulnerableUnaffected
mail-filter/libspf2*< 1.2.11>= 1.2.11

Background

libspf2 is a library that implements the Sender Policy Framework, allowing mail transfer agents to make sure that an email is authorized by the domain name that it is coming from.

Description

Multiple vulnerabilities have been discovered in libspf2. Please review the CVE identifiers referenced below for details.

Impact

Various buffer overflows have been identified that can lead to denial of service and possibly arbitrary code execution.

Workaround

There is no known workaround at this time.

Resolution

All libspf2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-filter/libspf2-1.2.11"

References

▸ GLSA 200810-03 libspf2: DNS response buffer overflow this version unaffected high remote 2008-10-30

A memory management error in libspf2 might allow for remote execution of arbitrary code.

Announced
2008-10-30
Revised
2008-10-30
Access
remote
Bugs
#242254
Advisory
https://security.gentoo.org/glsa/200810-03

Affected packages

PackageArchVulnerableUnaffected
mail-filter/libspf2*< 1.2.8>= 1.2.8

Background

libspf2 is a library that implements the Sender Policy Framework, allowing mail transfer agents to make sure that an email is authorized by the domain name that it is coming from. Currently, only the exim MTA uses libspf2 in Gentoo.

Description

libspf2 uses a fixed-length buffer to receive DNS responses and does not properly check the length of TXT records, leading to buffer overflows.

Impact

A remote attacker could store a specially crafted DNS entry and entice a user or automated system using libspf2 to lookup that SPF entry (e.g. by sending an email to the MTA), possibly allowing for the execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All libspf2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-filter/libspf2-1.2.8"

References