CVE-2021-20197

MEDIUMCVSS 6.3/10EPSS 0.31%

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
6.3/10

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

EPSS Probability
0.31%

22.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GnuBinutils<= 2.35
RedhatEnterprise Linux8.0
NetappCloud BackupAll versions
NetappOntap Select Deploy Administration UtilityAll versions
NetappSolidfire \& Hci Management NodeAll versions
BroadcomBrocade Fabric Operating System FirmwareAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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, 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.
How severe is CVE-2021-20197?
CVE-2021-20197 has a CVSS score of 6.3/10 (MEDIUM severity). The EPSS model estimates a 0.31% probability of exploitation in the next 30 days.
How do I fix CVE-2021-20197?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-20197?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST