Gentoo 2478 Published by

A new security update has been released for Gentoo Linux - libspf2: DNS response buffer overflow. Here the announcement:



Gentoo Linux Security Advisory GLSA 200810-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: libspf2: DNS response buffer overflow
Date: October 30, 2008
Bugs: #242254
ID: 200810-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

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.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 mail-filter/libspf2 < 1.2.8 >= 1.2.8

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
==========

[ 1 ] CVE-2008-2469
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2469

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200810-03.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5