Link Following The advisory has been revoked - it doesn't affect any version of package mingw64-binutils  (opens in a new tab)


Threat Intelligence

EPSS
0.3% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-MINGW64BINUTILS-1351512
  • published26 Jul 2021
  • disclosed7 Jan 2021

Introduced: 7 Jan 2021

CVE-2021-20197  (opens in a new tab)
CWE-59  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mingw64-binutils package and not the mingw64-binutils package as distributed by RHEL.

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.