CVE-2021-20197
published 2021-03-26CVE-2021-20197: 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…
PriorityP433medium6.3CVSS 3.1
AVLACHPRLUINSUCHIHAN
EPSS
0.30%
22.4th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | binutils | < binutils 2.37-3 (bookworm) | binutils 2.37-3 (bookworm) |
| gnu | binutils | <= 2.35 | — |
| gnu | binutils | — | — |
| gnu | binutils | >= 0 < 2.37-3 | 2.37-3 |
| gnu | binutils | >= 0 < 2.37-3 | 2.37-3 |
| gnu | binutils | >= 0 < 2.37-3 | 2.37-3 |
| msrc | azl3_crash_8.0.4-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_crash_8.0.4-4_on_azure_linux_3.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.16.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
nvdv2.03.3LOWAV:L/AC:M/Au:N/C:P/I:P/A:N
osv6.3MEDIUM
vendor_debian6.3LOW
vendor_msrc6.3MEDIUM
vendor_redhat6.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-rq67-5wpf-96wv: There is an open race window when writing output in the following utilities in GNU binutils version 2
ghsa_unreviewed·2022-05-24
CVE-2021-20197 [MEDIUM] CWE-362 GHSA-rq67-5wpf-96wv: There is an open race window when writing output in the following utilities in GNU binutils version 2
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.
OSV
CVE-2021-20197: There is an open race window when writing output in the following utilities in GNU binutils version 2
osv·2021-03-26·CVSS 6.3
CVE-2021-20197 [MEDIUM] CVE-2021-20197: There is an open race window when writing output in the following utilities in GNU binutils version 2
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.
Microsoft
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 (presuma
vendor_msrc·2021-03-09·CVSS 6.3
CVE-2021-20197 [MEDIUM] CWE-59 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 (presuma
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in thi
Red Hat
binutils: Race window allows users to own arbitrary files
vendor_redhat·2021-01-07·CVSS 6.3
CVE-2021-20197 [MEDIUM] CWE-59 binutils: Race window allows users to own arbitrary files
binutils: Race window allows users to own arbitrary files
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.
There is an open race window when writing output in the following utilities in GNU binutils1: ar, objcopy, strip, and 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.
Pa
Debian
CVE-2021-20197: binutils - There is an open race window when writing output in the following utilities in G...
vendor_debian·2021·CVSS 6.3
CVE-2021-20197 [MEDIUM] CVE-2021-20197: binutils - There is an open race window when writing output in the following utilities in G...
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.
Scope: local
bookworm: resolved (fixed in 2.37-3)
bullseye: open
forky: resolved (fixed in 2.37-3)
sid: resolved (fixed in 2.37-3)
trixie: resolved (fixed in 2.37-3)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://bugzilla.redhat.com/show_bug.cgi?id=1913743https://security.gentoo.org/glsa/202208-30https://security.netapp.com/advisory/ntap-20210528-0009/https://sourceware.org/bugzilla/show_bug.cgi?id=26945https://bugzilla.redhat.com/show_bug.cgi?id=1913743https://security.gentoo.org/glsa/202208-30https://security.netapp.com/advisory/ntap-20210528-0009/https://sourceware.org/bugzilla/show_bug.cgi?id=26945
2021-03-26
Published