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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.47% (77th 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-GLIBCLANGPACKOR-3109890
  • published9 Nov 2022
  • disclosed26 Feb 2019

Introduced: 26 Feb 2019

CVE-2009-5155  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-185  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 glibc-langpack-or to version 0:2.26-62.amzn2 or higher.
This issue was patched in ALAS2-2022-1869.

NVD Description

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

In the GNU C Library (aka glibc or libc6) before 2.28, parse_reg_exp in posix/regcomp.c misparses alternatives, which allows attackers to cause a denial of service (assertion failure and application exit) or trigger an incorrect result by attempting a regular-expression match.