Use After Free Affecting glibc-minimal-langpack package, versions <0:2.26-37.amzn2


medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.11% (45th percentile)
Expand this section
NVD
7 high
Expand this section
SUSE
7 high
Expand this section
Red Hat
7 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-GLIBCMINIMALLANGPACK-5881921
  • published 6 Sep 2023
  • disclosed 30 Apr 2020

How to fix?

Upgrade Amazon-Linux:2 glibc-minimal-langpack to version 0:2.26-37.amzn2 or higher.
This issue was patched in ALAS2-2023-2221.

NVD Description

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

A use-after-free vulnerability introduced in glibc upstream version 2.14 was found in the way the tilde expansion was carried out. Directory paths containing an initial tilde followed by a valid username were affected by this issue. A local attacker could exploit this flaw by creating a specially crafted path that, when processed by the glob function, would potentially lead to arbitrary code execution. This was fixed in version 2.32.