Use After Free Affecting glibc-langpack-sw package, versions <0:2.28-127.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (46th 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 IDSNYK-RHEL8-GLIBCLANGPACKSW-3952074
  • published26 Jul 2021
  • disclosed17 Jan 2020

Introduced: 17 Jan 2020

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

How to fix?

Upgrade RHEL:8 glibc-langpack-sw to version 0:2.28-127.el8 or higher.
This issue was patched in RHSA-2020:4444.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc-langpack-sw package and not the glibc-langpack-sw package as distributed by RHEL. See How to fix? for RHEL:8 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