CVE Vulnerabilities

CVE-2020-1752

Use After Free

Published: Apr 30, 2020 | Modified: Nov 21, 2024
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
3.7 LOW
AV:L/AC:H/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7 MODERATE
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
LOW

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Glibc Gnu * 2.32.0 (excluding)
Red Hat Enterprise Linux 8 RedHat glibc-0:2.28-127.el8 *
Red Hat Enterprise Linux 8 RedHat glibc-0:2.28-127.el8 *
Eglibc Ubuntu esm-infra-legacy/trusty *
Eglibc Ubuntu precise/esm *
Eglibc Ubuntu trusty *
Eglibc Ubuntu trusty/esm *
Glibc Ubuntu bionic *
Glibc Ubuntu eoan *
Glibc Ubuntu esm-infra/bionic *
Glibc Ubuntu esm-infra/xenial *
Glibc Ubuntu trusty *
Glibc Ubuntu xenial *

Potential Mitigations

References