Bug 741024 (CVE-2011-3581)

Summary: CVE-2011-3581 ldns: heap overflow flaw in ldns_rr_new_frm_str_internal()
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: jlieskov, pwouters
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-28 15:26:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 741025, 741026    
Bug Blocks:    

Description Vincent Danen 2011-09-24 14:06:06 UTC
It was reported [1],[2] that the ldns_rr_new_frm_str_internal() function of ldns, when parsing data of unknown RR types ("\#"), suffered from a boundary error.  This could be exploited to cause a heap-based buffer overflow by parsing specially crafted DNS Resource Records, possibly leading to the execution of arbitrary code.

A fix [3] has been committed to ldns trunk.

[1] http://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=403
[2] https://secunia.com/advisories/46153/
[3] http://www.nlnetlabs.nl/bugs-script/attachment.cgi?id=180

Comment 1 Vincent Danen 2011-09-24 14:06:54 UTC
Created ldns tracking bugs for this issue

Affects: fedora-all [bug 741025]
Affects: epel-all [bug 741026]

Comment 2 Vincent Danen 2011-10-03 17:52:46 UTC
This has been assigned the name CVE-2011-3581

Comment 3 Paul Wouters 2011-10-06 02:03:03 UTC
Updates are now in all the testing repos

Comment 4 Jan Lieskovsky 2011-10-06 08:16:15 UTC
(In reply to comment #3)
> Updates are now in all the testing repos

Brilliant, thanks Paul.

Comment 5 Jan Lieskovsky 2011-10-06 08:22:25 UTC
The following ldns package updates has been pushed to testing repositories to correct this flaw:
1) ldns-1.6.11-2.fc16,
2) ldns-1.6.11-2.fc15,
3) ldns-1.6.11-2.fc14,
4) ldns-1.6.11-2.el6,
5) ldns-1.6.11-2.el5.

Once they have passed the required amount of testing, they will be pushed to
particular -stable repository.

Comment 6 Paul Wouters 2012-02-28 15:26:46 UTC
These have made it to stable a long time ago