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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:53

Type Values Removed Values Added
References () https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L514 - Issue Tracking () https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L514 - Issue Tracking
References () https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L545 - Product () https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L545 - Product
References () https://github.com/rizinorg/rizin/commit/d6196703d89c84467b600ba2692534579dc25ed4 - Patch () https://github.com/rizinorg/rizin/commit/d6196703d89c84467b600ba2692534579dc25ed4 - Patch
References () https://github.com/rizinorg/rizin/pull/3422 - Issue Tracking, Patch () https://github.com/rizinorg/rizin/pull/3422 - Issue Tracking, Patch
References () https://github.com/rizinorg/rizin/security/advisories/GHSA-rqcp-m8m2-jcqf - Patch, Vendor Advisory () https://github.com/rizinorg/rizin/security/advisories/GHSA-rqcp-m8m2-jcqf - Patch, Vendor Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WW3JXI4TIJIR7PGFP74SN7GQYHW2F46Y/ - () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WW3JXI4TIJIR7PGFP74SN7GQYHW2F46Y/ -

12 Jul 2023, 03:15

Type Values Removed Values Added
References
  • (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WW3JXI4TIJIR7PGFP74SN7GQYHW2F46Y/ -
CWE CWE-787 CWE-120
CWE-121

Information

Published : 2023-03-14 21:15

Updated : 2024-11-21 07:53


NVD link : CVE-2023-27590

Mitre link : CVE-2023-27590

CVE.ORG link : CVE-2023-27590


JSON object : View

Products Affected

rizin

  • rizin
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

CWE-121

Stack-based Buffer Overflow

CWE-787

Out-of-bounds Write