Bug 1722730 (CVE-2019-12802)

Summary: CVE-2019-12802 radare2: denial of service in function rcc_context in /libr/egg/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: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rschirone91, rschiron
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:07:59 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: 1722733, 1722736    
Bug Blocks:    

Description Dhananjay Arunesh 2019-06-21 06:43:24 UTC
In radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c mishandles changing context. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact (invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg).

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

Comment 1 Dhananjay Arunesh 2019-06-21 06:46:05 UTC
Created radare2 tracking bugs for this issue:

Affects: fedora-all [bug 1722733]

Comment 2 Dhananjay Arunesh 2019-06-21 06:54:26 UTC
Created radare2 tracking bugs for this issue:

Affects: epel-7 [bug 1722736]

Comment 3 Riccardo Schirone 2019-06-21 07:43:41 UTC
Upstream patch:
https://github.com/radare/radare2/commit/93af319e0af787ede96537d46210369f5c24240c

Comment 4 Product Security DevOps Team 2019-07-12 13:07:59 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.