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.
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2023-09-18T16:33:57.211Z

Updated: 2024-11-15T20:21:06.890Z

Reserved: 2023-09-06T16:26:35.613Z

Link: CVE-2023-4806

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-09-18T17:15:55.813

Modified: 2024-11-21T08:36:00.433

Link: CVE-2023-4806

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-09-12T00:00:00Z

Links: CVE-2023-4806 - Bugzilla