#VU38068 Stack-based buffer overflow in radare2 - CVE-2017-15368


| Updated: 2021-01-25

Vulnerability identifier: #VU38068

Vulnerability risk: Medium

CVSSv4.0: 5.7 [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/E:U/U:Green]

CVE-ID: CVE-2017-15368

CWE-ID: CWE-121

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
radare2
Universal components / Libraries / Software for developers

Vendor: Radare

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the wasm_dis function in libr/asm/arch/wasm/wasm.c when processing a crafted WASM file that triggers an incorrect r_hex_bin2str call. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

radare2: 2.0.0


External links
https://github.com/radare/radare2/commit/52b1526443c1f433087928291d1c3d37a5600515
https://github.com/radare/radare2/issues/8673


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability