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
References
History
No history.

Status: PUBLISHED
Assigner: mitre
Published: 2021-08-27T00:00:00
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
