Glibc: potential use-after-free in gaih_inet()
Summary
| CVE | CVE-2023-4813 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-09-12 22:15:08 UTC |
| Updated | 2026-10-14 22:17:18 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.019260000 probability, percentile 0.795420000 (date 2026-10-14)
Problem Types: CWE-416 | CWE-416 Use After Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Fedoraproject | Fedora | 38 | All | All | All |
| Application | Gnu | Glibc | All | All | All | All |
| Application | Netapp | Active Iq Unified Manager | - | All | All | All |
| Hardware | Netapp | H300s | - | All | All | All |
| Operating System | Netapp | H300s Firmware | - | All | All | All |
| Hardware | Netapp | H410c | - | All | All | All |
| Operating System | Netapp | H410c Firmware | - | All | All | All |
| Hardware | Netapp | H410s | - | All | All | All |
| Operating System | Netapp | H410s Firmware | - | All | All | All |
| Hardware | Netapp | H500s | - | All | All | All |
| Operating System | Netapp | H500s Firmware | - | All | All | All |
| Hardware | Netapp | H700s | - | All | All | All |
| Operating System | Netapp | H700s Firmware | - | All | All | All |
| Operating System | Redhat | Enterprise Linux | 8.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 9.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Eus | 8.8 | All | All | All |
| Operating System | Redhat | Enterprise Linux Eus | 9.2 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Ibm Z Systems Eus S390x | 9.2 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Ibm Z Systems S390x | 9.2 | All | All | All |
| Operating System | Redhat | Enterprise Linux For Power Little Endian | 9.2_ppc64le | All | All | All |
| Operating System | Redhat | Enterprise Linux For Power Little Endian Eus | 9.2_ppc64le | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 9.2 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 8.8 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:2.28-225.el8_8.6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:2.28-225.el8_8.6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | unaffected 0:2.28-189.8.el8_6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:2.34-100.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:2.34-60.el9_2.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:2.34-100.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:2.34-60.el9_2.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Virtualization 4 For Red Hat Enterprise Linux 8 | unaffected 0:2.28-189.8.el8_6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| 2237798 – (CVE-2023-4813) CVE-2023-4813 glibc: potential use-after-free in gaih_inet() | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking, Patch, Third Party Advisory |
| oss-security - Re: CVE-2023-4806, CVE-2023-5156: glibc: potential use-after-free in getaddrinfo() | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| access.redhat.com/errata/RHSA-2023:7409 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| cve-details | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| CVE-2023-4813 GNU C Library (glibc) Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| access.redhat.com/errata/RHBA-2024:2413 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-09-06T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2022-03-01T00:00:00.000Z | Made public. |
Workarounds
CNA: 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.
Legacy QID Mappings
- 160965 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-5455)
- 160968 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-5453)
- 160973 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-12872)
- 160974 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-12873)
- 199987 Ubuntu Security Notification for GNU C Library Vulnerabilities (USN-6541-1)
- 242111 Red Hat Update for glibc (RHSA-2023:5453)
- 242118 Red Hat Update for glibc (RHSA-2023:5455)
- 242490 Red Hat Update for glibc (RHSA-2023:7409)
- 356310 Amazon Linux Security Advisory for glibc : ALAS2023-2023-359
- 378929 Alibaba Cloud Linux Security Update for glibc (ALINUX3-SA-2023:0124)
- 673448 EulerOS Security Update for glibc (EulerOS-SA-2024-1268)
- 673461 EulerOS Security Update for glibc (EulerOS-SA-2023-3212)
- 673463 EulerOS Security Update for glibc (EulerOS-SA-2024-1139)
- 673505 EulerOS Security Update for glibc (EulerOS-SA-2023-3269)
- 673617 EulerOS Security Update for glibc (EulerOS-SA-2023-3241)
- 673645 EulerOS Security Update for glibc (EulerOS-SA-2023-3330)
- 673703 EulerOS Security Update for glibc (EulerOS-SA-2023-3298)
- 673927 EulerOS Security Update for glibc (EulerOS-SA-2023-3177)
- 755072 SUSE Enterprise Linux Security Update for glibc (SUSE-SU-2023:4047-1)
- 755110 SUSE Enterprise Linux Security Update for glibc (SUSE-SU-2023:4110-1)
- 941278 AlmaLinux Security Update for glibc (ALSA-2023:5455)
- 941283 AlmaLinux Security Update for glibc (ALSA-2023:5453)
- 961035 Rocky Linux Security Update for glibc (RLSA-2023:5455)