Rapid7 Vulnerability & Exploit Database

Alpine Linux: CVE-2021-40153: Path Traversal

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

Alpine Linux: CVE-2021-40153: Path Traversal

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:P)
Published
08/27/2021
Created
04/09/2024
Added
03/26/2024
Modified
04/09/2024

Description

squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry; this is then used by unsquashfs to create the new file during the unsquash. The filename is not validated for traversal outside of the destination directory, and thus allows writing to locations outside of the destination.

Solution(s)

  • alpine-linux-upgrade-squashfs-tools

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

;