Improper Input Validation Affecting glibc-langpack-the package, versions <0:2.26-58.amzn2


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-AMZN2-GLIBCLANGPACKTHE-2442710
  • published8 Apr 2022
  • 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:2 glibc-langpack-the to version 0:2.26-58.amzn2 or higher.
This issue was patched in ALAS2-2022-1767.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc-langpack-the package and not the glibc-langpack-the package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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