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.
References
Link Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1913743 Issue Tracking Patch Third 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 Tracking Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:binutils:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:solidfire_\&_hci_management_node:-:*:*:*:*:*:*:*
cpe:2.3:o:broadcom:brocade_fabric_operating_system_firmware:-:*:*:*:*:*:*:*

History

12 Feb 2023, 22:15

Type Values Removed Values Added
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2021:4364', 'name': 'https://access.redhat.com/errata/RHSA-2021:4364', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/security/cve/CVE-2021-20197', 'name': 'https://access.redhat.com/security/cve/CVE-2021-20197', 'tags': [], 'refsource': 'MISC'}
Summary There is an open race window when writing output in the following utilities in GNU binutils1: ar, objcopy, strip, and 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. 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.
CWE CWE-362

02 Feb 2023, 21:20

Type Values Removed Values Added
Summary 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. There is an open race window when writing output in the following utilities in GNU binutils1: ar, objcopy, strip, and 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.
References
  • (MISC) https://access.redhat.com/errata/RHSA-2021:4364 -
  • (MISC) https://access.redhat.com/security/cve/CVE-2021-20197 -

30 Sep 2022, 13:04

Type Values Removed Values Added
References (GENTOO) https://security.gentoo.org/glsa/202208-30 - (GENTOO) https://security.gentoo.org/glsa/202208-30 - Third Party Advisory
CWE CWE-362

15 Aug 2022, 11:15

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202208-30 -

03 Jun 2022, 13:55

Type Values Removed Values Added
First Time Netapp cloud Backup
Netapp solidfire \& Hci Management Node
Broadcom brocade Fabric Operating System Firmware
Netapp
Netapp ontap Select Deploy Administration Utility
Broadcom
CPE cpe:2.3:o:broadcom:brocade_fabric_operating_system_firmware:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:solidfire_\&_hci_management_node:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*
References (CONFIRM) https://security.netapp.com/advisory/ntap-20210528-0009/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20210528-0009/ - Third Party Advisory

28 May 2021, 10:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20210528-0009/ -

01 Apr 2021, 13:39

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 3.3
v3 : 6.3
References (MISC) https://sourceware.org/bugzilla/show_bug.cgi?id=26945 - (MISC) https://sourceware.org/bugzilla/show_bug.cgi?id=26945 - Issue Tracking, Patch, Third Party Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1913743 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1913743 - Issue Tracking, Patch, Third Party Advisory
CPE cpe:2.3:a:gnu:binutils:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

26 Mar 2021, 17:18

Type Values Removed Values Added
New CVE

Information

Published : 2021-03-26 17:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-20197

Mitre link : CVE-2021-20197

CVE.ORG link : CVE-2021-20197


JSON object : View

Products Affected

netapp

  • solidfire_\&_hci_management_node
  • ontap_select_deploy_administration_utility
  • cloud_backup

redhat

  • enterprise_linux

gnu

  • binutils

broadcom

  • brocade_fabric_operating_system_firmware
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')