Link Following Affecting binutils package, versions <0:2.30-108.el8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-BINUTILS-4186055
  • 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)

How to fix?

Upgrade RHEL:8 binutils to version 0:2.30-108.el8 or higher.
This issue was patched in RHSA-2021:4364.

NVD Description

Note: Versions mentioned in the description apply only to the upstream binutils package and not the binutils package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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 Scores

version 3.1