« List of all CVEs

CVE-2023-4806

Glibc: potential use-after-free in getaddrinfo()

Published: 9/18/2023 Last updated: 6/9/2025 Reserved: 9/6/2023

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 5.9 Medium CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Opam packages affected (1)

gettext-stub

Products affected (12)

Product Vendor Version
Red Hat Enterprise Linux 7 Red Hat 7.3.1.2
Red Hat Enterprise Linux 6 Red Hat < 4c2eb80fc90b05559ce6ed1b8dfb2348420b5644
Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat 7.2.0.1
Red Hat Enterprise Linux 9 Red Hat < 6.3.9600.21924
Red Hat Enterprise Linux 9 Red Hat 6.4.0.16
Red Hat Enterprise Linux 9 Red Hat 6.6.7.1
Red Hat Enterprise Linux 9 Red Hat 7.2.4
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 Red Hat < f043fac1133a6c5ef960a8422c0f6dd711dee462
Red Hat Enterprise Linux 6 Red Hat 7.2.5.1
Red Hat Enterprise Linux 8 Red Hat before 2.3.0-1435
Red Hat Enterprise Linux 7 Red Hat 2019, SaaS
Red Hat Enterprise Linux 8 Red Hat >= 15.6-rc-1, < 15.7-rc-1

References (20)

Credits (1)