Bugzilla – Bug 1190531
VUL-0: CVE-2021-41072: squashfs: unvalidated symlinks allow writing outside of destination
Last modified: 2024-07-12 16:31:39 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-41072 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41072 https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405 https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd http://www.cvedetails.com/cve/CVE-2021-41072/
Affected Packages: - SUSE:Carwos:1/squashfs 4.3 - SUSE:SLE-11-SP2:Update/squashfs 4.0 - SUSE:SLE-12-SP2:Update/squashfs 4.3 - SUSE:SLE-15-SP3:Update/squashfs 4.4 - SUSE:SLE-15:Update/squashfs 4.3 - openSUSE:Factory/squashfs 4.4 Upstream patch: https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd
SUSE-SU-2023:4424-1: An update that solves four vulnerabilities and has one security fix can now be installed. Category: security (important) Bug References: 1133284, 1160294, 1189936, 1190531, 935380 CVE References: CVE-2015-4645, CVE-2015-4646, CVE-2021-40153, CVE-2021-41072 Sources used: SUSE Linux Enterprise High Performance Computing 12 SP5 (src): squashfs-4.6.1-8.3.2 SUSE Linux Enterprise Server 12 SP5 (src): squashfs-4.6.1-8.3.2 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): squashfs-4.6.1-8.3.2 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:4591-1: An update that solves four vulnerabilities can now be installed. Category: security (important) Bug References: 1189936, 1190531, 935380 CVE References: CVE-2015-4645, CVE-2015-4646, CVE-2021-40153, CVE-2021-41072 Sources used: openSUSE Leap 15.4 (src): squashfs-4.6.1-150300.3.3.1 openSUSE Leap 15.5 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Micro 5.3 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Micro for Rancher 5.4 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Micro 5.4 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Micro 5.5 (src): squashfs-4.6.1-150300.3.3.1 Basesystem Module 15-SP4 (src): squashfs-4.6.1-150300.3.3.1 Basesystem Module 15-SP5 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): squashfs-4.6.1-150300.3.3.1 SUSE Manager Proxy 4.2 (src): squashfs-4.6.1-150300.3.3.1 SUSE Manager Retail Branch Server 4.2 (src): squashfs-4.6.1-150300.3.3.1 SUSE Manager Server 4.2 (src): squashfs-4.6.1-150300.3.3.1 SUSE Enterprise Storage 7.1 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Micro 5.1 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Micro 5.2 (src): squashfs-4.6.1-150300.3.3.1 SUSE Linux Enterprise Micro for Rancher 5.2 (src): squashfs-4.6.1-150300.3.3.1 openSUSE Leap 15.3 (src): squashfs-4.6.1-150300.3.3.1 openSUSE Leap Micro 5.3 (src): squashfs-4.6.1-150300.3.3.1 openSUSE Leap Micro 5.4 (src): squashfs-4.6.1-150300.3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:2463-1: An update that solves four vulnerabilities can now be installed. Category: security (important) Bug References: 1189936, 1190531, 935380 CVE References: CVE-2015-4645, CVE-2015-4646, CVE-2021-40153, CVE-2021-41072 Maintenance Incident: [SUSE:Maintenance:31321](https://smelt.suse.de/incident/31321/) Sources used: SUSE Linux Enterprise Micro 5.5 (src): squashfs-4.6.1-150300.3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.