Path Traversal in Squashfs-Tools Project

CVE-2021-41072

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.023 (81.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-41072?
CVE-2021-41072 is a high-severity vulnerability in Squashfs-Tools Project, classified under Path Traversal. CVSS score: 8.1/10. Published 2021-09-14.
How severe is CVE-2021-41072?
High severity. CVSS v3 base score is 8.1 out of 10.