CVE-2020-1752 Use after free in glibc
A local attacker can achieve arbitrary code execution via a use-after-free flaw in glibc's tilde expansion when processing crafted directory paths.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-1752?
CVE-2020-1752 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 30 Apr 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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: CWE-416
Which versions are affected by CVE-2020-1752?
It affects 8 products.
Linux distribution packages (15)
glibc SUSE:HPE Helion OpenStack 8 | All versions | 2.22-123.1 |
glibc SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 2.26-13.45.1 |
glibc SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 2.26-13.45.1 |
glibc SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 2.26-13.45.1 |
glibc SUSE:Linux Enterprise Module for Development Tools 15 SP1 | All versions | 2.26-13.45.1 |
glibc SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 2.22-123.1 |
glibc SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 2.22-123.1 |
glibc SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 2.22-123.1 |
glibc SUSE:Linux Enterprise Server 15-LTSS | All versions | 2.26-13.45.1 |
glibc SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 2.22-123.1 |
glibc SUSE:Linux Enterprise Server for SAP Applications 15 | All versions | 2.26-13.45.1 |
glibc SUSE:OpenStack Cloud 8 | All versions | 2.22-123.1 |
glibc SUSE:OpenStack Cloud Crowbar 8 | All versions | 2.22-123.1 |
glibc openSUSE:Leap 15.1 | All versions | 2.26-lp151.19.11.1 |
glibc-testsuite-src openSUSE:Leap 15.1 | All versions | 2.26-lp151.19.11.1 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Gnu Glibc, Netapp Active Iq Unified Manager, Netapp H410c Firmware, Netapp Hci Management Node and 2 more.
How do I fix CVE-2020-1752?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2020-1752 being exploited?
There is no known exploitation of CVE-2020-1752 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as CLSA-2025-1758704869, CLSA-2025-1758711950, DEBIAN-CVE-2020-1752, GHSA-8x3m-4qgh-829r, SUSE-SU-2020:0820-1, SUSE-SU-2022:1123-1 and 2 more.