J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1537
    posted: 11/06/09
  • NSM Daily Update #1537
    posted: 11/06/09
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1537
    posted: 11/06/09
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 11/06/09
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 11/05/09

Title: 'libspf2' DNS TXT Record Handling Remote Buffer Overflow Vulnerability

Severity: HIGH

Description:

The 'libspf2' library is used to implement the Sender Policy Framework (SPF).

The library is prone to a remote buffer-overflow vulnerability that stems from a lack of bounds checking when handling specially crafted DNS TXT records. Specifically, the vulnerability resides in the 'SPF_dns_resolv_lookup()' function of the 'Spf_dns_resolv.c' file and occurs because of improper validation of a length field.

Remote attackers may exploit this issue to execute arbitrary code in the context of an application using a vulnerable version of the library. Note that an attacker would need to be in control of a malicious DNS server or carry out a man-in-the-middle attack to leverage this vulnerability.

Versions prior to 'libspf2' 1.2.8 are affected.

Affected Products:

  • Astaro Security Gateway 7
  • Debian Linux 4.0
  • Debian Linux 4.0 alpha
  • Debian Linux 4.0 amd64
  • Debian Linux 4.0 arm
  • Debian Linux 4.0 hppa
  • Debian Linux 4.0 ia-32
  • Debian Linux 4.0 ia-64
  • Debian Linux 4.0 m68k
  • Debian Linux 4.0 mips
  • Debian Linux 4.0 mipsel
  • Debian Linux 4.0 powerpc
  • Debian Linux 4.0 s/390
  • Debian Linux 4.0 sparc
  • Gentoo Linux
  • libspf2 libspf2 1.2.1
  • libspf2 libspf2 1.2.2
  • libspf2 libspf2 1.2.3
  • libspf2 libspf2 1.2.4
  • libspf2 libspf2 1.2.5
  • libspf2 libspf2 1.2.6
  • libspf2 libspf2 1.2.7

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.