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

18 lines
854 B
Markdown

### [CVE-2021-20197](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20197)
![](https://img.shields.io/static/v1?label=Product&message=binutils&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=binutils%202.35%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-59&color=brightgreen)
### Description
There is an open race window when writing output in the following utilities in GNU binutils version 2.35 and earlier:ar, objcopy, strip, ranlib. When these utilities are run as a privileged user (presumably as part of a script updating binaries across different users), an unprivileged user can trick these utilities into getting ownership of arbitrary files through a symlink.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fokypoky/places-list