GLSA 201401-25: ldns: Arbitrary code execution

Severity:normal
Title:ldns: Arbitrary code execution
Date:01/21/2014
Bugs: #384249
ID:201401-25

Synopsis

A heap-based buffer overflow in ldns might allow remote attackers to execute arbitrary code or cause a Denial of Service condition.

Background

ldns is a fast DNS library with the goal to simplify DNS programming and to allow developers to easily create software conforming to current RFCs and Internet drafts.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-libs/ldns < 1.6.11 >= 1.6.11 All supported architectures

Description

ldns contains a heap-based buffer overflow in the ldns_rr_new_frm_str_internal function.

Impact

A remote attacker could execute arbitrary code or cause a Denial of Service condition with a crafted Resource Record.

Workaround

There is no known workaround at this time.

Resolution

All ldns users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=net-libs/ldns-1.6.11"
    

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying these packages.

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since October 11, 2011. It is likely that your system is already no longer affected by this issue.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201401-25.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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!