Vulnerability record · CVE-2021-20197 · published 26 March 2021
CVE-2021-20197: Gnu binutils link following vulnerability
Gnu · Binutils
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.
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:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected products
6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1913743 | Issue TrackingPatchThird Party Advisory |
| https://security.gentoo.org/glsa/202208-30 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210528-0009/ | Third Party Advisory |
| https://sourceware.org/bugzilla/show_bug.cgi?id=26945 | Issue TrackingPatchThird Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1913743 | Issue TrackingPatchThird Party Advisory |
| https://security.gentoo.org/glsa/202208-30 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210528-0009/ | Third Party Advisory |
| https://sourceware.org/bugzilla/show_bug.cgi?id=26945 | Issue TrackingPatchThird Party Advisory |
Track CVE-2021-20197 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-20197), CISA KEV, FIRST EPSS (scores of 2026-11-19). This page is refreshed as NVD updates the record.