Description
radare2 6.1.6 through 6.2.6 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted r2pipe:// map URIs in RPRJ project files. The rprj_maps_restore() function passes these URIs to r_io_open_nomap() unrestricted, so opening a malicious RPRJ file runs commands with the user's privileges.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
radareorg radare2
Default version status: unaffected
6.1.6 to ≤ 6.2.6affected
pkg:github/radareorg/radare2References
- https://github.com/radareorg/radare2/security/advisories/GHSA-cgg8-43mg-rp6h ↗
- https://github.com/radareorg/radare2/issues/27494 ↗
- https://github.com/radareorg/radare2/commit/e7cd9b81761576e359f9528e1797b7c9f716b19e ↗
- https://github.com/radareorg/radare2/blob/6.2.6/libr/core/p/newprj/maps.inc.c#L406-L434 ↗
- https://www.vulncheck.com/advisories/radare2-6.1.6-through-6.2.6-os-command-injection-via-rprj-project-map-uris ↗