Joined: 12 May 2004
|Posted: Thu Oct 30, 2008 10:26 pm Post subject: [ GLSA 200810-03 ] libspf2: DNS response buffer overflow
|Gentoo Linux Security Advisory
Title: libspf2: DNS response buffer overflow (GLSA 200810-03)
Date: October 30, 2008
A memory management error in libspf2 might allow for remote execution of
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.
Vulnerable: < 1.2.8
Unaffected: >= 1.2.8
Architectures: All supported architectures
libspf2 uses a fixed-length buffer to receive DNS responses and does
not properly check the length of TXT records, leading to buffer
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
There is no known workaround at this time.
All libspf2 users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-filter/libspf2-1.2.8"
Last edited by GLSA on Mon Jul 26, 2010 4:27 am; edited 2 times in total