Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| 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 | - |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1913743Issue TrackingPatchThird Party Advisory
- https://security.gentoo.org/glsa/202208-30Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210528-0009/Third Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=26945Issue TrackingPatchThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1913743Issue TrackingPatchThird Party Advisory
- https://security.gentoo.org/glsa/202208-30Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210528-0009/Third Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=26945Issue TrackingPatchThird Party Advisory
FAQ
What is CVE-2021-20197?
CVE-2021-20197 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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 (pres...
How severe is CVE-2021-20197?
CVE-2021-20197 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-20197?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Binutils, Redhat Enterprise Linux, Netapp Cloud Backup, Netapp Ontap Select Deploy Administration Utility, Netapp Solidfire \& Hci Management Node.