Improper Input Validation Affecting libcrypt package, versions <0:2.26-62.amzn2


medium

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.51% (77th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
4 medium
Expand this section
Red Hat
7.5 high

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 ID SNYK-AMZN2-LIBCRYPT-3110017
  • published 9 Nov 2022
  • disclosed 26 Feb 2019

How to fix?

Upgrade Amazon-Linux:2 libcrypt 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 libcrypt package and not the libcrypt 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.