CVE-2023-4806

medium

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=2237782

https://access.redhat.com/security/cve/CVE-2023-4806

https://access.redhat.com/errata/RHSA-2023:7409

https://access.redhat.com/errata/RHSA-2023:5455

https://access.redhat.com/errata/RHSA-2023:5453

Details

Source: Mitre, NVD

Published: 2023-09-18

Updated: 2024-09-16

Risk Information

CVSS v2

Base Score: 5.4

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: Medium