ldns: Arbitrary code execution — GLSA 201401-25

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

Affected packages

net-libs/ldns on all architectures
Affected versions < 1.6.11
Unaffected versions >= 1.6.11

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.

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

Release date
January 21, 2014

Latest revision
January 21, 2014: 1

Severity
normal

Exploitable
remote

Bugzilla entries