p PatchFirst

CVE-2021-20197

CVE-2021-20197

CVSS 6.3 · Medium · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="binutils"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • RHSA-2021:4364 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
  • openSUSE-SU-2024:10651-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2022:0934-1 · SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 ·
  • openSUSE-SU-2021:1475-1 · openSUSE Leap 15.2 ·
  • ALSA-2021:4364 · AlmaLinux 8 ·
  • RLSA-2021:4364 · Rocky Linux 8 ·
  • SUSE-SU-2021:3616-1 · SUSE Enterprise Storage 6, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP2, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Development Tools 15 SP2, SUSE Linux Enterprise Module for Development Tools 15 SP3, SUSE Linux Enterprise Module for Package Hub 15 SP2, SUSE Linux Enterprise Module for Package Hub 15 SP3, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP1 ·
  • openSUSE-SU-2021:3616-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2021:3593-1 · SUSE HPE Helion OpenStack 8, SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP3-BCL, SUSE Linux Enterprise Server 12 SP3-LTSS, SUSE Linux Enterprise Server 12 SP4-LTSS, SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP3, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE Linux Enterprise Software Development Kit 12 SP5, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 8, SUSE OpenStack Cloud Crowbar 9 ·

Stack: system

Affected products and versions

  • binutils

    Versions
    • binutils 2.35: Affected

    No fix published

  • binutils Debian 12

    Affected ranges
    • ECOSYSTEM: < 2.37-3

    Update to 2.37-3

  • binutils Debian 13

    Affected ranges
    • ECOSYSTEM: < 2.37-3

    Update to 2.37-3

  • binutils Debian 14

    Affected ranges
    • ECOSYSTEM: < 2.37-3

    Update to 2.37-3

  • binutils Ubuntu Pro 14.04 LTS

    Versions
    • 2.23.52.20130913-0ubuntu1
    • 2.23.90.20131017-1ubuntu1
    • 2.23.90.20131116-1ubuntu1
    • 2.23.91.20131123-1ubuntu1
    • 2.24-1ubuntu1
    • 2.24-1ubuntu2
    All versions (25)
    • 2.24-2ubuntu1
    • 2.24-2ubuntu2
    • 2.24-2ubuntu3
    • 2.24-4ubuntu1
    • 2.24-5ubuntu1
    • 2.24-5ubuntu2
    • 2.24-5ubuntu3
    • 2.24-5ubuntu3.1
    • 2.24-5ubuntu13
    • 2.24-5ubuntu14
    • 2.24-5ubuntu14.1
    • 2.24-5ubuntu14.2
    • 2.24-5ubuntu14.2+esm1
    • 2.24-5ubuntu14.2+esm2
    • 2.24-5ubuntu14.2+esm3
    • 2.24-5ubuntu14.2+esm5
    • 2.24-5ubuntu14.2+esm6
    • 2.24-5ubuntu14.2+esm7
    • 2.24-5ubuntu14.2+esm8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 16.04 LTS

    Versions
    • 2.25.1-6ubuntu1
    • 2.25.51.20151022-0ubuntu2
    • 2.25.51.20151022-0ubuntu3
    • 2.25.51.20151027-0ubuntu1
    • 2.25.51.20151028-0ubuntu1
    • 2.25.51.20151106-0ubuntu1
    All versions (42)
    • 2.25.51.20151113-1ubuntu1
    • 2.25.51.20151113-2ubuntu1
    • 2.25.90.20151125-1ubuntu1
    • 2.25.90.20151125-2ubuntu1
    • 2.25.90.20151211-0ubuntu1
    • 2.25.90.20151211-0ubuntu2
    • 2.25.90.20160101-1ubuntu1
    • 2.25.90.20160101-1ubuntu2
    • 2.26-2ubuntu1
    • 2.26-3ubuntu1
    • 2.26-4ubuntu1
    • 2.26-5ubuntu1
    • 2.26-6ubuntu1
    • 2.26-7ubuntu2
    • 2.26-8ubuntu1
    • 2.26-8ubuntu2
    • 2.26-8ubuntu2.1
    • 2.26.1-1ubuntu1~16.04
    • 2.26.1-1ubuntu1~16.04.1
    • 2.26.1-1ubuntu1~16.04.3
    • 2.26.1-1ubuntu1~16.04.4
    • 2.26.1-1ubuntu1~16.04.5
    • 2.26.1-1ubuntu1~16.04.6
    • 2.26.1-1ubuntu1~16.04.7
    • 2.26.1-1ubuntu1~16.04.8
    • 2.26.1-1ubuntu1~16.04.8+esm1
    • 2.26.1-1ubuntu1~16.04.8+esm3
    • 2.26.1-1ubuntu1~16.04.8+esm4
    • 2.26.1-1ubuntu1~16.04.8+esm5
    • 2.26.1-1ubuntu1~16.04.8+esm6
    • 2.26.1-1ubuntu1~16.04.8+esm7
    • 2.26.1-1ubuntu1~16.04.8+esm9
    • 2.26.1-1ubuntu1~16.04.8+esm11
    • 2.26.1-1ubuntu1~16.04.8+esm12
    • 2.26.1-1ubuntu1~16.04.8+esm13
    • 2.26.1-1ubuntu1~16.04.8+esm14
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 18.04 LTS

    Versions
    • 2.29.1-4ubuntu1
    • 2.29.1-6ubuntu1
    • 2.29.1-7ubuntu1
    • 2.29.1-8ubuntu1
    • 2.29.1-10ubuntu1
    • 2.29.1-12ubuntu1
    All versions (30)
    • 2.30-4ubuntu1
    • 2.30-5ubuntu1
    • 2.30-7ubuntu1
    • 2.30-8ubuntu1
    • 2.30-9ubuntu1
    • 2.30-10ubuntu1
    • 2.30-11ubuntu1
    • 2.30-14ubuntu2
    • 2.30-15ubuntu1
    • 2.30-20ubuntu2~18.04
    • 2.30-21ubuntu1~18.04
    • 2.30-21ubuntu1~18.04.1
    • 2.30-21ubuntu1~18.04.2
    • 2.30-21ubuntu1~18.04.3
    • 2.30-21ubuntu1~18.04.4
    • 2.30-21ubuntu1~18.04.5
    • 2.30-21ubuntu1~18.04.7
    • 2.30-21ubuntu1~18.04.8
    • 2.30-21ubuntu1~18.04.9
    • 2.30-21ubuntu1~18.04.9+esm1
    • 2.30-21ubuntu1~18.04.9+esm3
    • 2.30-21ubuntu1~18.04.9+esm4
    • 2.30-21ubuntu1~18.04.9+esm5
    • 2.30-21ubuntu1~18.04.9+esm13
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 20.04 LTS

    Versions
    • 2.33-2ubuntu1
    • 2.33.1-1ubuntu1
    • 2.33.1-5ubuntu1
    • 2.33.1-6ubuntu1
    • 2.33.1-6ubuntu3
    • 2.33.90.20200122-1ubuntu2
    All versions (23)
    • 2.34-1ubuntu1
    • 2.34-3ubuntu1
    • 2.34-4ubuntu1
    • 2.34-5ubuntu1
    • 2.34-6ubuntu1
    • 2.34-6ubuntu1.1
    • 2.34-6ubuntu1.3
    • 2.34-6ubuntu1.4
    • 2.34-6ubuntu1.5
    • 2.34-6ubuntu1.6
    • 2.34-6ubuntu1.7
    • 2.34-6ubuntu1.8
    • 2.34-6ubuntu1.9
    • 2.34-6ubuntu1.10
    • 2.34-6ubuntu1.11
    • 2.34-6ubuntu1.11+esm1
    • 2.34-6ubuntu1.11+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →