CVE-2023-4527 Glibc: stack read overflow in getaddrinfo in no-aaaa mode

Medium 6.5 Published Updated

A stack read overflow in glibc's getaddrinfo allows attackers to disclose stack contents or cause crashes via large TCP DNS responses in no-aaaa mode.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-4527?

CVE-2023-4527 is a medium-severity vulnerability in Fedoraproject Fedora, published on 18 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-125, CWE-121

Which versions are affected by CVE-2023-4527?

It affects 27 products.

Products include Fedoraproject Fedora, Gnu Glibc, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500s Firmware and 21 more.

How do I fix CVE-2023-4527?

Apply the vendor's patch.

Is CVE-2023-4527 being exploited?

There is no known exploitation of CVE-2023-4527 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-34732, BELL-CVE-2023-4527, DEBIAN-CVE-2023-4527, GHSA-hmf7-f8gf-8f4p.

Is CVE-2023-4527 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free