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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2752-1 | squashfs-tools security update |
Debian DSA |
DSA-4967-1 | squashfs-tools security update |
EUVD |
EUVD-2021-27338 | 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. |
Ubuntu USN |
USN-5057-1 | Squashfs-Tools vulnerability |
Ubuntu USN |
USN-5078-2 | Squashfs-Tools vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-04T02:27:31.648Z
Reserved: 2021-08-27T00:00:00
Link: CVE-2021-40153
No data.
Status : Modified
Published: 2021-08-27T15:15:09.657
Modified: 2024-11-21T06:23:40.510
Link: CVE-2021-40153
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
EUVD
Ubuntu USN