CVE-2021-41072

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.

Risk Information

Base Score
8.1
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
EPSS Score
Exploitation Probability
3.585

Associated Vulnerability

VulnerabilityOS Platform
Tools to create and modify squashfs filesystems (USN-5078-1) squashfs-tools_4.4-1ubuntu0.2_i386.debLinux
Tools to create and modify squashfs filesystems (USN-5078-1) squashfs-tools_4.4-1ubuntu0.2_amd64.debLinux
Tools to create and modify squashfs filesystems (USN-5078-1) squashfs-tools_4.4-2ubuntu0.2_i386.debLinux
Tools to create and modify squashfs filesystems (USN-5078-1) squashfs-tools_4.4-2ubuntu0.2_amd64.debLinux
Tools to create and modify squashfs filesystems (USN-5078-1) squashfs-tools_4.3-6ubuntu0.18.04.4_i386.debLinux
Tools to create and modify squashfs filesystems (USN-5078-1) squashfs-tools_4.3-6ubuntu0.18.04.4_amd64.debLinux
Tools to create and modify squashfs filesystems (USN-5078-3) squashfs-tools_4.4-1ubuntu0.3_i386.debLinux
Tools to create and modify squashfs filesystems (USN-5078-3) squashfs-tools_4.4-1ubuntu0.3_amd64.debLinux
Tools to create and modify squashfs filesystems (USN-5078-3) squashfs-tools_4.4-2ubuntu0.3_i386.debLinux
Tools to create and modify squashfs filesystems (USN-5078-3) squashfs-tools_4.4-2ubuntu0.3_amd64.debLinux
squashfs-tools security update(DSA-4987-1) squashfs-tools_4.4-2+deb11u2_amd64.debLinux
squashfs-tools security update(DSA-4987-1) squashfs-tools_4.3-12+deb10u2_amd64.debLinux
squashfs-tools security update(DSA-4987-1) squashfs-tools_4.3-12+deb10u2_i386.debLinux
squashfs-tools security update(DSA-4987-1) Debian_squashfs-tools_4.3-12+deb10u2_amd64.debLinux
SUSE-SU-2023:4591-1(Basesystem Module 15-SP4 ) squashfs-4.6.1-150300.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:4591-1(Basesystem Module 15-SP5 ) squashfs-4.6.1-150300.3.3.1.x86_64_15_SP5.rpmLinux
SUSE-SU-2023:4591-1(Basesystem Module 15-SP4 ) squashfs-debuginfo-4.6.1-150300.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:4591-1(Basesystem Module 15-SP5 ) squashfs-debuginfo-4.6.1-150300.3.3.1.x86_64_15_SP5.rpmLinux
SUSE-SU-2023:4591-1(Basesystem Module 15-SP4 ) squashfs-debugsource-4.6.1-150300.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:4591-1(Basesystem Module 15-SP5 ) squashfs-debugsource-4.6.1-150300.3.3.1.x86_64_15_SP5.rpmLinux
squashfs-tools security update(DSA-4987-1) squashfs-tools_4.4-2+deb11u2_i386.debLinux
(RHSA-2024:2396)Moderate: security update squashfs-tools-4.4-10.git1.el9.x86_64.rpmLinux
(RHSA-2024:2396)Moderate: security update squashfs-tools-debuginfo-4.4-10.git1.el9.x86_64.rpmLinux
(RHSA-2024:2396)Moderate: security update squashfs-tools-debugsource-4.4-10.git1.el9.x86_64.rpmLinux
Squashfs-tools update (ELSA-2024-2396) squashfs-tools-4.4-10.git1.el9.x86_64.rpmLinux
(RHSA-2024:3139)Moderate: security update squashfs-tools-4.3-21.el8.x86_64.rpmLinux
(RHSA-2024:3139)Moderate: security update squashfs-tools-debuginfo-4.3-21.el8.x86_64.rpmLinux
(RHSA-2024:3139)Moderate: security update squashfs-tools-debugsource-4.3-21.el8.x86_64.rpmLinux
Squashfs-tools update (ELSA-2024-3139) squashfs-tools-4.3-21.el8.x86_64.rpmLinux
squashfs-tools Security Update (ALAS-2023-2152) squashfs-tools-4.3-0.21.gitaae0aff4.amzn2.0.2.x86_64.rpmLinux
squashfs-tools security update (RLSA-2024:3139) squashfs-tools-4.3-21.el8.x86_64.rpmLinux
Moderate: squashfs-tools security update squashfs-tools-4.4-10.git1.el9.x86_64.rpmLinux
Moderate: squashfs-tools security update squashfs-tools-4.3-21.el8.x86_64.rpmLinux
squashfs-tools security update (RLSA-2024:2396) squashfs-tools-4.4-10.git1.el9.x86_64.rpmLinux
squashfs-tools Security Update (ALAS2-2023-2152) squashfs-tools-4.3-0.21.gitaae0aff4.amzn2.0.2.x86_64.rpmLinux
Improper Limitation of a Pathname to a Restricted Directory (Path Traversal) Vulnerability (CVE-2021-41072)NCM

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234