CVE-2023-27590 Rizin has stack-based buffer overflow when parsing GDB registers profile files
HighCVSS 7.8
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Rizin is a UNIX-like reverse engineering framework and command-line toolset. In version 0.5.1 and prior, converting a GDB registers profile file into a Rizin register profile can result in a stack-based buffer overflow when the name, type, or groups fields have longer values than expected. Users opening untrusted GDB registers files (e.g. with the drpg or arpg commands) are affected by this flaw. Commit d6196703d89c84467b600ba2692534579dc25ed4 contains a patch for this issue. As a workaround, review the GDB register profiles before loading them with drpg/arpg commands.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rizin | <= 0.5.1 | after 0.5.1 | Fixed |
| rizinorg rizin | = <= 0.5.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rizinorg rizin | = <= 0.5.1 | No fix listed |
| rizin | <= 0.5.1 | No fix listed |
References
- https://github.com/rizinorg/rizin/security/advisories/GHSA-rqcp-m8m2-jcqf patch vendor-advisory
- https://github.com/rizinorg/rizin/pull/3422 issue-tracking patch
- https://github.com/rizinorg/rizin/commit/d6196703d89c84467b600ba2692534579dc25ed4 patch
- https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L514 issue-tracking product
- lists.fedoraproject.org