Heap-buffer-overflow in io_memory_read in radare2
Summary
OSV-2022-1137: Heap-buffer-overflow in io_memory_read. Affects radare2 versions >= 0f2952ea080596fc51f484aca4cdc7efb59af59d. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
radare2 is an open-source framework for reverse engineering and analyzing binary files. It provides a set of command-line tools and libraries for disassembling, debugging, and manipulating binary files. The vulnerability in question affects the io_memory_read function within radare2.
Vulnerability Detail
The vulnerability is a heap-buffer-overflow WRITE issue that can lead to a crash. It was reported through the OSS-Fuzz project, and the crash occurs in the io_memory_read function, specifically in the r_io_plugin_read and r_io_desc_read functions. The exact cause and impact of the overflow are not provided in the available information.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No specific workaround is mentioned in the available information.
Conclusion
In conclusion, the radare2 package is affected by a heap-buffer-overflow vulnerability in the io_memory_read function. To mitigate this issue, it is recommended to update to a version that includes the fix. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for radare2 →
FAQ
radare2 is an open-source framework for reverse engineering and analyzing binary files. It provides a set of command-line tools and libraries for disassembling, debugging, and manipulating binary files.
A heap-buffer-overflow vulnerability occurs when a program writes data beyond the bounds of a dynamically allocated buffer in the heap. This can lead to memory corruption, crashes, and potentially, remote code execution.
This vulnerability was discovered through the OSS-Fuzz project, which is a continuous fuzzing service for open-source software. It helps identify and report vulnerabilities by automatically generating and executing test cases.
The severity of this vulnerability is classified as HIGH according to the available information.
More information about this vulnerability can be found in the OSS-Fuzz vulnerability database. The source link provided in the vulnerability details leads to the specific YAML file containing the details of this vulnerability.
References
Related vulnerabilities
Recent vulnerabilities recorded for radare2.