Rapid7 Vulnerability & Exploit Database

Alpine Linux: CVE-2021-20197: Improper Link Resolution Before File Access ('Link Following')

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Alpine Linux: CVE-2021-20197: Improper Link Resolution Before File Access ('Link Following')

Severity
3
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:N)
Published
03/26/2021
Created
03/22/2024
Added
03/21/2024
Modified
03/22/2024

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)

  • alpine-linux-upgrade-binutils

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

;