« List of all CVEs

CVE-2021-20197

Published: 3/26/2021 Last updated: 12/3/2025 Reserved: 12/17/2020

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 6.3 Medium CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Opam packages affected (3)

bap-std clangml conf-binutils

Products affected (2)

Product Vendor Version
binutils n/a <= 2020 R2 SP1 P01
binutils n/a < 3.5.20.10

References (16)