CVE-2021-41072

squashfs-tools: possible Directory Traversal via symbolic link

Published Sep 14, 2021 CVSS 3.1 · 8.1 High EPSS 2.3% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 2:59 AM
Reserved
Sep 14, 2021, 12:00 AM
Status
Modified
Published
Sep 14, 2021, 1:15 AM
Modified
Jun 17, 2026, 4:07 AM
Severity
Moderate
Public date
Sep 14, 2021, 12:00 AM