Bug 1723353 (CVE-2019-12790)

Summary: CVE-2019-12790 radare2: heap-based buffer over-read in function r_egg_lang_parsechar in egg_lang.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: rschirone91
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-12 13:08:00 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: 1723354, 1723356    
Bug Blocks:    

Description Dhananjay Arunesh 2019-06-24 11:01:14 UTC
In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.

Reference:
https://github.com/radare/radare2/issues/14211

Comment 1 Dhananjay Arunesh 2019-06-24 11:01:49 UTC
Created radare2 tracking bugs for this issue:

Affects: fedora-all [bug 1723354]

Comment 2 Dhananjay Arunesh 2019-06-24 11:02:09 UTC
Created radare2 tracking bugs for this issue:

Affects: epel-7 [bug 1723356]

Comment 3 Riccardo Schirone 2019-06-27 10:56:21 UTC
Upstream patch:
https://github.com/radare/radare2/commit/e710401ebb4a892a87b0c709d709af8b5dcbbb01

Comment 4 Product Security DevOps Team 2019-07-12 13:08:00 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.