Improper Input Validation Affecting libnsl-debuginfo package, versions <0:2.34-38.amzn2022.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-AMZN2022-LIBNSLDEBUGINFO-3011292
  • published31 Aug 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:2022 libnsl-debuginfo to version 0:2.34-38.amzn2022.0.2 or higher.
This issue was patched in ALAS2022-2022-130.

NVD Description

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

version 3.1