UNKNOWN READ vulnerability in radare2
Summary
OSV-2023-547: UNKNOWN READ in r_str_ncpy. Affects radare2 across 2 version ranges.
< 9a310ec866cc802adf7245b76e357ea0f6145e59
>= 71fe0470e5b64572c4629bf2ed33bcf4b62d9322, < 59806217f8fdadd4de7d0edab81c40442d9aec75
Fixed in 59806217f8fdadd4de7d0edab81c40442d9aec75. 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 that allow users to disassemble, debug, and manipulate binary files. The vulnerability in radare2 is related to an UNKNOWN READ issue.
Vulnerability Detail
The UNKNOWN READ vulnerability in radare2 is triggered during the execution of the r_str_ncpy function. This vulnerability can potentially lead to a crash or other unexpected behavior. The specific crash state occurs in the Elf32__r_bin_elf_load_symbols_and_imports and Elf32_load_symbols functions. More details about this vulnerability can be found in the OSS-Fuzz report: OSS-Fuzz Report. The severity of this vulnerability is considered MEDIUM.
How To Fix
Minimum fixed version
59806217f8fdadd4de7d0edab81c40442d9aec75
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above.
Conclusion
In conclusion, the UNKNOWN READ vulnerability in radare2 can potentially lead to a crash or other unexpected behavior. It is important to update radare2 to a version that includes the fix to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for radare2 →
FAQ
radare2 is an open-source framework for reverse engineering and analyzing binary files.
This vulnerability can potentially lead to a crash or other unexpected behavior.
More details about this vulnerability can be found in the OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60407.
The severity of this vulnerability is considered MEDIUM.
To fix this vulnerability, it is recommended to update radare2 to a version that includes the fix. The fix for this vulnerability was introduced in commit 71fe0470e5b64572c4629bf2ed33bcf4b62d9322.
References
Related vulnerabilities
Recent vulnerabilities recorded for radare2.