Files
CVEs-PoC/2021/CVE-2021-32554.md
2025-09-29 21:09:30 +02:00

24 lines
1.4 KiB
Markdown

### [CVE-2021-32554](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32554)
![](https://img.shields.io/static/v1?label=Product&message=apport&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2.14.1-0ubuntu3%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=2.20.1%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=2.20.11-0ubuntu27%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=2.20.11-0ubuntu50%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=2.20.11-0ubuntu65%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=2.20.9%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-59%20Improper%20Link%20Resolution%20Before%20File%20Access%20('Link%20Following')&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-61%20UNIX%20Symbolic%20Link%20(Symlink)%20Following&color=brightgreen)
### 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 xorg package apport hooks, it could expose private data to other local users.
### POC
#### Reference
- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904
#### Github
- https://github.com/n0-traces/cve_monitor