CVE-2021-20197: Race Condition

Published Jan 7, 2021
·
Updated

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.

Other sources

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.

Reference:

https://sourceware.org/bugzilla/showbug.cgi?id=26945

Red Hat

Affected Software

8 affected componentsFixes available
GNU binutils<=2.35
redhat Enterprise Linux=8.0
NetApp Cloud Backup
NetApp ONTAP Select Deploy administration utility
NetApp Solidfire \& Hci Management Node
Broadcom Brocade Fabric Operating System Firmware
Microsoft azl3 crash 8.0.4-3
Microsoft azl3 crash 8.0.4-4

Event History

Jan 7, 2021
Data Sourced
via Red Hat·01:57 PM
DescriptionSeverityAffected Software
Mar 26, 2021
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 2, 2021
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-20197?

CVE-2021-20197 is a vulnerability in GNU binutils version 2.35 and earlier, which allows an unprivileged user to trick a privileged user into overwriting arbitrary files.

2

How severe is CVE-2021-20197?

CVE-2021-20197 has a severity rating of 6.3 (medium).

3

Which utilities in GNU binutils are affected by CVE-2021-20197?

The following utilities in GNU binutils version 2.35 and earlier are affected: ar, objcopy, strip, ranlib.

4

Which operating systems are affected by CVE-2021-20197?

The affected operating systems include Redhat Enterprise Linux 8.0, Netapp Cloud Backup, NetApp ONTAP Select Deploy administration utility, Netapp Solidfire & Hci Management Node, and Broadcom Brocade Fabric Operating System Firmware.

5

Are there any references for CVE-2021-20197?

Yes, you can find more information about CVE-2021-20197 at the following references: [Link 1], [Link 2], [Link 3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203