Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-20197: Race window allows users to own arbitrary files (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2021-20197: Race window allows users to own arbitrary files (Multiple Advisories)

Severity
3
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:N)
Published
03/26/2021
Created
11/11/2021
Added
11/10/2021
Modified
12/15/2023

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.

Solution(s)

  • redhat-upgrade-binutils
  • redhat-upgrade-binutils-debuginfo
  • redhat-upgrade-binutils-debugsource
  • redhat-upgrade-binutils-devel

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;