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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.11% (47th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-GLIBCLANGPACKSE-5881949
  • published6 Sept 2023
  • disclosed30 Apr 2020

Introduced: 30 Apr 2020

CVE-2020-1752  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

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

CVSS Scores

version 3.1