squashfs_opendir in unsquash-2.c in Squashfs-Tools 4.5 allows Directory Traversal, a different vulnerability than CVE-2021-40153. A squashfs filesystem that has been crafted to include a symbolic link and then contents under the same filename in a filesystem can cause unsquashfs to first create the symbolic link pointing outside the expected directory, and then the subsequent write operation will cause the unsquashfs process to write through the symbolic link elsewhere in the filesystem.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2789-1 squashfs-tools security update
Debian DSA Debian DSA DSA-4987-1 squashfs-tools security update
EUVD EUVD EUVD-2021-28223 squashfs_opendir in unsquash-2.c in Squashfs-Tools 4.5 allows Directory Traversal, a different vulnerability than CVE-2021-40153. A squashfs filesystem that has been crafted to include a symbolic link and then contents under the same filename in a filesystem can cause unsquashfs to first create the symbolic link pointing outside the expected directory, and then the subsequent write operation will cause the unsquashfs process to write through the symbolic link elsewhere in the filesystem.
Ubuntu USN Ubuntu USN USN-5078-1 Squashfs-Tools vulnerability
Ubuntu USN Ubuntu USN USN-5078-2 Squashfs-Tools vulnerabilities
Ubuntu USN Ubuntu USN USN-5078-3 Squashfs-Tools vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T02:59:31.057Z

Reserved: 2021-09-14T00:00:00

Link: CVE-2021-41072

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-09-14T01:15:07.747

Modified: 2024-11-21T06:25:22.970

Link: CVE-2021-41072

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-09-14T00:00:00Z

Links: CVE-2021-41072 - Bugzilla

cve-icon OpenCVE Enrichment

No data.