vulnerability
Red Hat: CVE-2021-40153: squashfs-tools: unvalidated filepaths allow writing outside of destination (Multiple Advisories)
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
6 | (AV:N/AC:M/Au:N/C:N/I:P/A:P) | 2021-08-27 | 2024-05-01 | 2024-11-26 |
Severity
6
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:P)
Published
2021-08-27
Added
2024-05-01
Modified
2024-11-26
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)
redhat-upgrade-squashfs-toolsredhat-upgrade-squashfs-tools-debuginforedhat-upgrade-squashfs-tools-debugsource

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.