Bug 2215930 (CVE-2023-4156) - CVE-2023-4156 gawk: heap out of bound read in builtin.c
Summary: CVE-2023-4156 gawk: heap out of bound read in builtin.c
Status: NEW
Alias: CVE-2023-4156
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody
QA Contact:
Depends On: 2215940 2215941 2215942 2229176
Blocks: 2215943
TreeView+ depends on / blocked
Reported: 2023-06-19 12:39 UTC by TEJ RATHI
Modified: 2024-01-08 11:45 UTC (History)
2 users (show)

Fixed In Version: gawk 5.1.1
Doc Type: If docs needed, set a value
Doc Text:
A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description TEJ RATHI 2023-06-19 12:39:55 UTC
A heap out of bound read issue exists in builtin.c of gawk prior to version 5.1.1. The array "the_args" takes an unsafe index "val", while it does not validate the index to ensure the index refers to a valid position in the array (e.g., exceedingly large or negative). The vulnerability can cause crash of the software and might be used by attackers to read sensitive information.

https://fossies.org/linux/gawk/ChangeLog#470 (Line: 470-475)

Comment 3 TEJ RATHI 2023-06-19 12:52:24 UTC
Created gawk tracking bugs for this issue:

Affects: fedora-all [bug 2215940]

Note You need to log in before you can comment on or make changes to this bug.