# CVE-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, ra…

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2021-03-26T16:47:20.000Z
- Modified: 2026-06-17T03:33:27.327Z
- Weaknesses: CWE-59, CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- binutils: binutils 2.35
- gnu binutils: up to 2.35
- redhat enterprise_linux: 8.0
- netapp cloud_backup: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- broadcom brocade_fabric_operating_system_firmware: no versions given

## Every score

- CISA-ADP: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 3.3 Low `AV:L/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1913743> (issue-tracking, patch, third-party-advisory)
- <https://sourceware.org/bugzilla/show_bug.cgi?id=26945> (issue-tracking, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210528-0009/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202208-30> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-20197](https://www.cve.org/CVERecord?id=CVE-2021-20197), CVE Terms of Use, modified 2025-12-03
- NVD: [CVE-2021-20197](https://nvd.nist.gov/vuln/detail/CVE-2021-20197), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20197 · Whole record: https://cve.day/CVE-2021-20197.json · Rebuilt by cve.day 2026-11-25T22:58:00.464Z
