cve.bz

CVE-2023-4813 Use After Free

5.9 mediumEPSS 1.9%Fix available

Medium (5.9). EPSS 1.9% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw has been identified in glibc. In an uncommon situation, the gaih_inet function may use memory that has been freed, resulting in an application crash. This issue is only exploitable when the getaddrinfo function is called and the hosts database in /etc/nsswitch.conf is configured with SUCCESS=continue or SUCCESS=merge.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.28-225.el8_8.6
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support: fixed in 0:2.28-189.8.el8_6
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:2.34-60.el9_2.7
  • Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8: fixed in 0:2.28-189.8.el8_6
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release
  • Patch: https://bugzilla.redhat.com/show_bug.cgi?id=2237798

Ask an AI about this CVE

Show the promptExplain CVE-2023-4813 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4813?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4813?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-4813 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.

Badge for a README or a site

CVE-2023-4813

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-4813](https://cve.bz/cve/badge/CVE-2023-4813.svg)](https://cve.bz/cve/CVE-2023-4813)

HTML:

<a href="https://cve.bz/cve/CVE-2023-4813"><img src="https://cve.bz/cve/badge/CVE-2023-4813.svg" alt="CVE-2023-4813"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:2.28-225.el8_8.6
Red Hat Enterprise Linux 8.6 Extended Update Support0:2.28-189.8.el8_6
Red Hat Enterprise Linux 90:2.34-60.el9_2.7
Red Hat Virtualization 4 for Red Hat Enterprise Linux 80:2.28-189.8.el8_6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14glibc2.36-3DEBIAN-CVE-2023-4813
Ubuntu20.04:LTSglibc2.31-0ubuntu9.14UBUNTU-CVE-2023-4813 USN-6541-1
Ubuntu22.04:LTSglibc2.35-0ubuntu3.5UBUNTU-CVE-2023-4813 USN-6541-1
UbuntuPro:14.04:LTSeglibcno fix listedUBUNTU-CVE-2023-4813
UbuntuPro:16.04:LTSglibc2.23-0ubuntu11.3+esm5UBUNTU-CVE-2023-4813 USN-6541-1
UbuntuPro:18.04:LTSglibc2.27-3ubuntu1.6+esm1UBUNTU-CVE-2023-4813 USN-6541-1
Red Hatenterprise_linux:8::appstreamglibc-utils, nscd-debuginfo, glibc-debuginfo and 10 more0:2.28-225.el8_8.6RHSA-2023:5455
Red Hatenterprise_linux:8::baseosnscd, glibc, libnsl and 216 more0:2.28-225.el8_8.6RHSA-2023:5455
Red Hatenterprise_linux:8::crbnss_hesiod, glibc-static, nscd-debuginfo and 12 more0:2.28-225.el8_8.6RHSA-2023:5455
Red Hatenterprise_linux:9::appstreamglibc-doc, glibc-devel, glibc-utils and 12 more0:2.34-60.el9_2.7RHSA-2023:5453
Red Hatenterprise_linux:9::baseosnscd, glibc, libnsl and 212 more0:2.34-60.el9_2.7RHSA-2023:5453
Red Hatenterprise_linux:9::crbnss_db, nss_hesiod, glibc-static and 12 more0:2.34-60.el9_2.7RHSA-2023:5453
Red Hatrhel_eus:8.6::appstreamglibc-utils, nscd-debuginfo, glibc-debuginfo and 9 more0:2.28-189.8.el8_6RHSA-2023:7409
Red Hatrhel_eus:8.6::baseosnscd, glibc, libnsl and 215 more0:2.28-189.8.el8_6RHSA-2023:7409
Red Hatrhel_eus:8.6::crbnss_hesiod, glibc-static, nscd-debuginfo and 11 more0:2.28-189.8.el8_6RHSA-2023:7409
Red Hatrhev_hypervisor:4.4::el8glibc-devel, glibc-headers, nscd-debuginfo and 9 more0:2.28-189.8.el8_6RHSA-2023:7409
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 13 moreglibc2.31-150300.63.1SUSE-SU-2023:4110-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP1-LTSS and 3 moreglibc2.26-150000.13.70.1SUSE-SU-2023:4047-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5glibc2.22-114.31.1SUSE-RU-2023:4063-1
openSUSETumbleweedglibc2.38-6.1openSUSE-SU-2024:13388-1
AlmaLinux8nscd, glibc, libnsl and 211 more2.28-225.el8_8.6ALSA-2023:5455
AlmaLinux9nscd, glibc, libnsl and 212 more2.34-60.el9_2.7ALSA-2023:5453
Rocky Linux8glibc0:2.28-225.el8_8.6RLSA-2023:5455
Azure Linux2glibc2.35-7AZL-28829

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is only exploitable when the condition detailed in the description is present in the system. However, all glibc versions shipped in Red Hat Enterprise Linux are vulnerable to this issue.

Red Hat's mitigation

Removing the "SUCCESS=continue" or "SUCCESS=merge" configuration from the hosts database in /etc/nsswitch.conf will mitigate this vulnerability.

Note that, these options are not supported by the hosts database, if they were working before it was because of this bug.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8glibc-0:2.28-225.el8_8.6Fixed 2023-10-05RHSA-2023:5455
Red Hat Enterprise Linux 8.6 Extended Update Supportglibc-0:2.28-189.8.el8_6Fixed 2023-11-21RHSA-2023:7409
Red Hat Enterprise Linux 9glibc-0:2.34-60.el9_2.7Fixed 2023-10-05RHSA-2023:5453
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8glibc-0:2.28-189.8.el8_6Fixed 2023-11-21RHSA-2023:7409
Red Hat Enterprise Linux 6compat-glibcOut of support scope
Red Hat Enterprise Linux 6glibcOut of support scope
Red Hat Enterprise Linux 7compat-glibcWill not fix
Red Hat Enterprise Linux 7glibcWill not fix

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

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON