Bug 1316554 (CVE-2016-2147)

Summary: CVE-2016-2147 busybox: out of bounds write (heap) due to integer underflow in udhcpc
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: admiller, cbuissar, dvlasenk
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: 2016-03-11 09:25:16 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: 1316558    
Bug Blocks: 1316559    

Description Martin Prpič 2016-03-10 13:17:20 UTC
An out of bound write was discovered in udhcpc when parsing the Domain Search option. An attacker could send a maliciously crafted packet answering a DHCP request triggering a denial of service on the client.

Comment 1 Martin Prpič 2016-03-10 13:17:29 UTC
Acknowledgments:

Name: Nico Golde (Qualcomm Product Security Initiative)

Comment 2 Martin Prpič 2016-03-10 13:21:08 UTC
Created busybox tracking bugs for this issue:

Affects: fedora-all [bug 1316558]

Comment 3 Cedric Buissart 2016-03-11 09:04:13 UTC
Upstream fix :
 - udhcp: fix a SEGV on malformed RFC1035-encoded domain name
https://git.busybox.net/busybox/commit/?id=d474ffc

and a minor regression :
 - udhcpc: fix a warning in debug code
https://git.busybox.net/busybox/commit/?id=1b7c17