Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-4527 EUVD-2023-54382GHSA-hmf7-f8gf-8f4p

Glibc: stack read overflow in getaddrinfo in no-aaaa mode

Published Sep 18, 2023 · Updated Nov 7, 2026 · Assigned by redhat

Description

A flaw was found in glibc. When the getaddrinfo function is called with the AF_UNSPEC address family and the system is configured with no-aaaa mode via /etc/resolv.conf, a DNS response via TCP larger than 2048 bytes can potentially disclose stack contents through the function returned address data, and may cause a crash.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.37-9 —
Debian 13 glibc 2.37-9 —
Debian 12 glibc 2.36-9+deb12u3 —
ReleasePackageFixed inAdvisory
RHEL 9 nscd +214 2.34-60.el9_2.7 RHSA-2023:5453
RHEL 8 nscd +213 2.28-225.el8_8.6 RHSA-2023:5455

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nscd +214 2.34-60.el9_2.7 ALSA-2023:5453
AlmaLinux 8 nscd +213 2.28-225.el8_8.6 ALSA-2023:5455

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 glibc 2.28-225.el8_8.6 RLSA-2023:5455
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.38-3.1 openSUSE-SU-2024:13273-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nscd +217 2.34-52.amzn2023.0.6 ALAS2023-2023-359

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc 2.38-11 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nscd +214 2.34-60.0.3.el9_2.7 ELSA-2023-5453
Oracle Linux 8 nscd +213 2.28-225.0.4.el8_8.6 ELSA-2023-5455

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling glibc 2.38-r2 —

Advisories 15

References