CVE-2021-20197
Last modified
CVE-2021-20197 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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.. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Binutils | <= 2.35 |
| Redhat | Enterprise Linux | 8.0 |
| Netapp | Cloud Backup | All versions |
| Netapp | Ontap Select Deploy Administration Utility | All versions |
| Netapp | Solidfire \& Hci Management Node | All versions |
| Broadcom | Brocade Fabric Operating System Firmware | All versions |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1913743Issue Tracking, Patch, Third 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 Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1913743Issue Tracking, Patch, Third 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 Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20197?
How severe is CVE-2021-20197?
How do I fix CVE-2021-20197?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20191A flaw was found in ansible. Credentials, such as secrets, a…5.5
- CVE-2021-20192Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-20193A flaw was found in the src/list.c of tar 1.33 and earlier. …3.3
- CVE-2021-20194There is a vulnerability in the linux kernel versions higher…7.8
- CVE-2021-20195A flaw was found in keycloak in versions before 13.0.0. A Se…9.6
- CVE-2021-20196A NULL pointer dereference flaw was found in the floppy disk…6.5
- CVE-2021-20198A flaw was found in the OpenShift Installer before version v…8.1
- CVE-2021-20199Rootless containers run with Podman, receive all traffic wit…5.9
- CVE-2021-2020Vulnerability in the MySQL Server product of Oracle MySQL (c…6.5
- CVE-2021-20200Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-20201A flaw was found in spice in versions before 0.14.92. A DoS …5.3
- CVE-2021-20202A flaw was found in keycloak. Directories can be created pri…7.3
Are you affected by CVE-2021-20197?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
