Back to search
CVE-2021-20197
Published: Mar 26, 2021
Modified: Dec 3, 2025
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | binutils | affected binutils 2.35 |
Weaknesses (CWE)
References
https://bugzilla.redhat.com/show_bug.cgi?id=1913743
x_refsource_MISC
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
x_refsource_MISC
https://security.netapp.com/advisory/ntap-20210528-0009/
x_refsource_CONFIRM
GLSA-202208-30
vendor-advisory
x_refsource_GENTOO
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now