Vulnerability Details : CVE-2023-27590
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.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2023-27590
- cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-27590
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 19 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-27590
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2023-27590
-
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.Assigned by: security-advisories@github.com (Primary)
-
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).Assigned by: security-advisories@github.com (Primary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Secondary)
References for CVE-2023-27590
-
https://github.com/rizinorg/rizin/security/advisories/GHSA-rqcp-m8m2-jcqf
Stack-based buffer overflow when parsing GDB registers profile files · Advisory · rizinorg/rizin · GitHubPatch;Vendor Advisory
-
https://github.com/rizinorg/rizin/pull/3422
Fix conversion from GDB register profile to rizin profile by ret2libc · Pull Request #3422 · rizinorg/rizin · GitHubIssue Tracking;Patch
-
https://github.com/rizinorg/rizin/commit/d6196703d89c84467b600ba2692534579dc25ed4
Fix conversion from GDB register profile to rizin profile · rizinorg/rizin@d619670 · GitHubPatch
-
https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L545
rizin/profile.c at 3a7d5116244beb678ad9950bb9dd27d28ed2691f · rizinorg/rizin · GitHubProduct
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WW3JXI4TIJIR7PGFP74SN7GQYHW2F46Y/
[SECURITY] Fedora 38 Update: rizin-0.5.2-1.fc38.2 - package-announce - Fedora Mailing-Lists
-
https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L514
rizin/profile.c at 3a7d5116244beb678ad9950bb9dd27d28ed2691f · rizinorg/rizin · GitHubIssue Tracking
Jump to