CVE-2023-4813
Glibc: potential use-after-free in gaih_inet()
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Timeline
ID reserved
By redhat
- 5 days later
· 5 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
Affected products
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:2.28-225.el8_8.6 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:2.28-225.el8_8.6 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support
- unaffected 0:2.28-189.8.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:2.34-60.el9_2.7 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:2.34-60.el9_2.7 – < *
Red Hat · Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
- unaffected 0:2.28-189.8.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
What to do
Workaround: 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.
References (8)
- RHSA-2023:5453 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5455 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7409 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-4813 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2237798 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- http://www.openwall.com/lists/oss-security/2023/10/03/8 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20231110-0003/ (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-4813)Record last updated .