CVE-2021-20197
GNU binutils Symbolic Link Privilege Escalation
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.
INFO
Published Date :
March 26, 2021, 5:15 p.m.
Last Modified :
Feb. 12, 2023, 10:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.2
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2021-20197 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-20197
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-20197
.
URL | 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 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
asp-net-core csharp docker dockerfile javascript react webapi docker-compose
C# Dockerfile HTML JavaScript CSS
Map Vulnerabilities into Different Layers of the Container Image
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-20197
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-20197
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 12, 2023
Action Type Old Value New Value Changed Description 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. Removed CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N Removed Reference https://access.redhat.com/errata/RHSA-2021:4364 [No Types Assigned] Removed Reference https://access.redhat.com/security/cve/CVE-2021-20197 [No Types Assigned] Added CWE Red Hat, Inc. CWE-59 -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Changed 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. 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. Added CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N Added Reference https://access.redhat.com/errata/RHSA-2021:4364 [No Types Assigned] Added Reference https://access.redhat.com/security/cve/CVE-2021-20197 [No Types Assigned] Removed CWE Red Hat, Inc. CWE-59 -
Modified Analysis by [email protected]
Sep. 30, 2022
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/202208-30 No Types Assigned https://security.gentoo.org/glsa/202208-30 Third Party Advisory Added CWE NIST CWE-59 Added CWE NIST CWE-362 -
CVE Modified by [email protected]
Aug. 15, 2022
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202208-30 [No Types Assigned] -
Modified Analysis by [email protected]
Jun. 03, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20210528-0009/ No Types Assigned https://security.netapp.com/advisory/ntap-20210528-0009/ Third Party Advisory Added CPE Configuration 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:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
May. 28, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20210528-0009/ [No Types Assigned] -
Initial Analysis by [email protected]
Apr. 01, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:P/I:P/A:N) Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1913743 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1913743 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://sourceware.org/bugzilla/show_bug.cgi?id=26945 No Types Assigned https://sourceware.org/bugzilla/show_bug.cgi?id=26945 Issue Tracking, Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:gnu:binutils:*:*:*:*:*:*:*:* versions up to (including) 2.35 Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-20197
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-20197
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.12212
percentile