CVEvulnerability
CVE-2021-41072
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-09-14
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- CVSS 2.0 ([email protected])
- 5.8 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:P
- Weaknesses
- CWE-22, CWE-59
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.
Affected configurations
• squashfs-tools project squashfs-tools 4.5
• debian debian linux 9.0
• debian debian linux 10.0
• debian debian linux 11.0
Related
References
- https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd Patch, Third Party Advisory
- https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405 Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202305-29 security.gentoo.org
- https://www.debian.org/security/2021/dsa-4987 Third Party Advisory
- https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd Patch, Third Party Advisory
- https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405 Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202305-29 security.gentoo.org
- https://www.debian.org/security/2021/dsa-4987 Third Party Advisory