Name | CVE-2023-4806 |
Description | A flaw was found 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
glibc (PTS) | jessie, jessie (lts) | 2.19-18+deb8u14 | vulnerable |
stretch (security) | 2.24-11+deb9u1 | vulnerable | |
stretch (lts), stretch | 2.24-11+deb9u7 | vulnerable | |
buster (security), buster, buster (lts) | 2.28-10+deb10u4 | vulnerable | |
bullseye | 2.31-13+deb11u11 | vulnerable | |
bullseye (security) | 2.31-13+deb11u10 | vulnerable | |
bookworm | 2.36-9+deb12u8 | fixed | |
bookworm (security) | 2.36-9+deb12u7 | fixed | |
sid, trixie | 2.40-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
glibc | source | bookworm | 2.36-9+deb12u3 | |||
glibc | source | (unstable) | 2.37-10 |
[bullseye] - glibc <ignored> (Minor issue)
[buster] - glibc <no-dsa> (Minor issue)
https://sourceware.org/bugzilla/show_bug.cgi?id=30843
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=973fe93a5675c42798b2161c6f29c01b0e243994
When fixing this issue in older releases make sure to not open CVE-2023-5156.
https://sourceware.org/cgit/glibc/tree/advisories/GLIBC-SA-2023-0003
[stretch] - glibc <no-dsa> (Minor issue)
[jessie] - glibc <no-dsa> (Minor issue)