Stack-based Buffer Overflow Affecting glibc-langpack-ga package, versions <0:2.34-52.amzn2023.0.6


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.15% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-GLIBCLANGPACKGA-5927711
  • published4 Oct 2023
  • disclosed18 Sept 2023

Introduced: 18 Sep 2023

CVE-2023-4527  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 glibc-langpack-ga to version 0:2.34-52.amzn2023.0.6 or higher.
This issue was patched in ALAS2023-2023-359.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc-langpack-ga package and not the glibc-langpack-ga package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Scores

version 3.1