Buffer overflow - CVE-2019-12802

 

Buffer overflow - CVE-2019-12802

Published: June 13, 2019 / Updated: August 4, 2020


Vulnerability identifier: #VU33388
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-12802
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local non-authenticated attacker to execute arbitrary code.

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).


Affected software

radare2 (Alpine package)
cutter-re
radare2
Fedora

How to mitigate CVE-2019-12802

Install update from vendor's website.

radare2 (Alpine package) - update to 3.9.0-r0
cutter-re - addressed in versions 1.8.0-4.fc30, 1.8.3-1.fc30
radare2 - addressed in versions 3.6.0-1.el7, 3.6.0-1.fc29, 3.6.0-1.fc30

External References

Related Security Bulletins