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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.023 (82.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 83rd percentile — 82.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-41072: held from 0.023 to 0.023.

EPSS over last 30 days · oldest: 0.023 · newest: 0.023 · change: 0.000

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.