{"id":"CVE-2023-4813","published":"2023-09-12T21:54:33Z","modified":"2026-11-07T11:32:29Z","title":"Glibc: potential use-after-free in gaih_inet()","vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01926,"percentile":0.80466,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:5453","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:5455","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:7409","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-4813","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2237798","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/8","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20231110-0003/","tags":["x_transferred"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":25.2,"factors":[{"name":"EPSS percentile","points":16.09},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.13}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-06-06","earliestUrl":"https://github.com/tnishiox/cve-2023-4813","repos":[{"name":"tnishiox/cve-2023-4813","url":"https://github.com/tnishiox/cve-2023-4813","stars":2,"created":"2024-06-06"}]},"first":{"date":"2024-06-06","source":"PoC-in-GitHub","url":"https://github.com/tnishiox/cve-2023-4813"},"provenance":"source"},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Extended Update Support","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Virtualization 4 for Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2023-54657","exploited":false,"provenance":"source"}}