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:57.211Z
Modified
2026-07-16T03:46:39.793617227Z
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 nssgethostbyname2r and nssgetcanonnamer hooks without implementing the nss*gethostbyname3r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AFINET6 address family with AICANONNAME, AIALL and AIV4MAPPED as flags.

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

Affected packages

Git / github.com/bminor/glibc

Affected ranges

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

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
Introduced
9826b03b747b841f5fc6de2054bf1ef3f5c4bdf3
Last affected
9826b03b747b841f5fc6de2054bf1ef3f5c4bdf3
Database specific
{
    "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"