CVE-2021-40153
- State
- Published
- Severity
- Not scored
- Published
- Aug 27, 2021
- Updated
- Aug 4, 2024
- Reserved
- Aug 27, 2021
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646
- https://github.com/plougher/squashfs-tools/issues/72
- https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790
- FEDORA-2021-cdbd827c1evendor-advisory
- [debian-lts-announce] 20210831 [SECURITY] [DLA 2752-1] squashfs-tools security updatemailing-list
- DSA-4967vendor-advisory
- FEDORA-2021-9fb6da134fvendor-advisory
- GLSA-202305-29vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.