CVE Database›Document archive›CVE-2023-4527

CVE-2023-4527

glibc: Stack read overflow in getaddrinfo in no-aaaa mode

Loading…

Severity

Moderate

Red Hat Product Security

6.5

CVSS 3.1

Review impact separately from score.

Published · September 12, 2023

Updated · July 14, 2026

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.

Statement

This issue only affects systems configured with no-aaaa mode via /etc/resolv.conf.

The no-aaaa stub resolver option was backported only to Red Hat Enterprise Linux versions 8.7 and 9.1. Therefore, previous versions are not affected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Removing the no-aaaa diagnostic option from /etc/resolv.conf will mitigate this flaw.

CVSS / CWE

CVSS 3.1 · 6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

CWE-121 · Stack-based Buffer Overflow