CVE-2021-20197

State
Published
Severity
6.3 Medium
Published
Mar 26, 2021
Updated
Dec 3, 2025
Reserved
Dec 17, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NCISA-ADP

Weaknesses

Affected Products

ProductVersions
binutilsn/a
  • binutils 2.35Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.