CVE-2021-32549 apport read_file() function could follow maliciously constructed symbolic links
Local attackers can exploit symbolic link handling in apport to expose private data to other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-32549?
CVE-2021-32549 is a high-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 12 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-13 package apport hooks, it could expose private data to other local users.
Which versions are affected by CVE-2021-32549?
It affects 1 product.
Products include Canonical Ubuntu Linux.
How do I fix CVE-2021-32549?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-32549 being exploited?
There is no known exploitation of CVE-2021-32549 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-j4vv-pj3g-5523, UBUNTU-CVE-2021-32549.