CVE-2023-4806

Source
https://cve.org/CVERecord?id=CVE-2023-4806
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4806.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-4806
Downstream
Related
Published
2023-09-18T16:33:57Z
Modified
2026-08-28T11:45:57Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Glibc: potential use-after-free in getaddrinfo()
Details

A flaw has been identified in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the nss_gethostbyname2_r and nss_getcanonname_r hooks without implementing the nss*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4806.json"
}
References

Affected packages

Git / github.com/bminor/glibc

Affected ranges

Type
GIT
Repo
https://github.com/bminor/glibc
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:gnu:glibc:2.33:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.33"
        },
        {
            "last_affected": "2.33"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

2.*
2.33
glibc-2.*
glibc-2.33

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4806.json"

Git / sourceware.org/git/glibc.git

Affected ranges

Type
GIT
Repo
https://sourceware.org/git/glibc.git
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:gnu:glibc:2.33:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.33"
        },
        {
            "last_affected": "2.33"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

2.*
2.33
glibc-2.*
glibc-2.33

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4806.json"