Improper Input Validation Affecting glibc-langpack-ga 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 IDSNYK-AMZN2-GLIBCLANGPACKGA-2442646
  • published8 Apr 2022
  • disclosed14 Jan 2022

Introduced: 14 Jan 2022

CVE-2022-23218  (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-ga 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-ga package and not the glibc-langpack-ga package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path 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