cve.bz

CVE-2023-4156 Out-of-bounds Read

7.1 highExploit referenceEPSS 0.4%

High (7.1). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-09-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-4156 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4156?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4156?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4156 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:gawkbefore 5.1.1
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
fedoraproject:fedora38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14gawk1:5.2.1-1DEBIAN-CVE-2023-4156
Ubuntu20.04:LTSgawk1:5.0.1+dfsg-1ubuntu0.1UBUNTU-CVE-2023-4156 USN-6373-1
Ubuntu22.04:LTSgawk1:5.1.0-1ubuntu0.1UBUNTU-CVE-2023-4156 USN-6373-1
UbuntuPro:14.04:LTSgawk1:4.0.1+dfsg-2.1ubuntu2+esm1UBUNTU-CVE-2023-4156 USN-6373-1
UbuntuPro:16.04:LTSgawk1:4.1.3+dfsg-0.1ubuntu0.1~esm1UBUNTU-CVE-2023-4156 USN-6373-1
UbuntuPro:18.04:LTSgawk1:4.1.4+dfsg-1ubuntu0.1~esm1UBUNTU-CVE-2023-4156 USN-6373-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 5 moregawk4.2.1-150000.3.3.1SUSE-SU-2023:3440-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5gawk4.1.0-5.3.1SUSE-SU-2023:3431-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3 and 1 moregawk4.2.1-150000.3.3.1SUSE-SU-2023:3440-1
Azure Linux2gawk5.1.1-1AZL-30045

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue is classified with a low severity primarily because this out-of-bounds read is only triggered during the parsing of a specially crafted file, requiring an attacker to convince a user to process this file with gawk. Additionally, the loss of confidentiality is limited and does not represent the real impact of this flaw. Furthermore, gawk does not handle privileged operations, meaning that exploitation is unlikely to lead to system compromise or escalation of privileges. Also, the impact is limited to the application itself, without affecting the broader system or network security.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6gawkOut of support scope
Red Hat Enterprise Linux 7gawkFix deferred
Red Hat Enterprise Linux 8gawkFix deferred
Red Hat Enterprise Linux 9gawkFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-ai-gateway-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-data-science-pipelines-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kf-notebook-controller-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-llmisvc-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-module-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kuberay-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kube-rbac-proxy-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-maas-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-agent-ops-rhel9Under investigation
16 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4156.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON