Improper Input Validation Affecting glibc-langpack-ga package, versions <0:2.34-52.amzn2023.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.79% (82nd 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-GLIBCLANGPACKGA-3345595
  • published7 Mar 2023
  • disclosed14 Jan 2022

Introduced: 14 Jan 2022

CVE-2022-23219  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

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

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.

The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.

CVSS Scores

version 3.1