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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:squashfs-tools_project:squashfs-tools:4.5:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

30 May 2023, 06:15

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202305-29 -
CWE CWE-22

05 Nov 2021, 18:09

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html - Mailing List, Third Party Advisory
References (DEBIAN) https://www.debian.org/security/2021/dsa-4987 - (DEBIAN) https://www.debian.org/security/2021/dsa-4987 - Third Party Advisory

21 Oct 2021, 01:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html -

15 Oct 2021, 20:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2021/dsa-4987 -

24 Sep 2021, 18:39

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.8
v3 : 8.1
CWE CWE-59
References (MISC) https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405 - (MISC) https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405 - Exploit, Third Party Advisory
References (MISC) https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd - (MISC) https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd - Patch, Third Party Advisory
CPE cpe:2.3:a:squashfs-tools_project:squashfs-tools:4.5:*:*:*:*:*:*:*

14 Sep 2021, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-09-14 01:15

Updated : 2023-12-10 14:09


NVD link : CVE-2021-41072

Mitre link : CVE-2021-41072

CVE.ORG link : CVE-2021-41072


JSON object : View

Products Affected

debian

  • debian_linux

squashfs-tools_project

  • squashfs-tools
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-59

Improper Link Resolution Before File Access ('Link Following')