An update for squashfs-tools is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2021-1425
Final
1.0
1.0
2021-11-12
Initial
2021-11-12
2021-11-12
openEuler SA Tool V1.0
2021-11-12
squashfs-tools security update
An update for squashfs-tools is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
Squashfs is a highly compressed read-only filesystem for Linux. It uses either gzip/xz/lzo/lz4/zstd compression to compress both files, inodes and directories.
Security Fix(es):
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.(CVE-2021-41072)
squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry; this is then used by unsquashfs to create the new file during the unsquash. The filename is not validated for traversal outside of the destination directory, and thus allows writing to locations outside of the destination.(CVE-2021-40153)
An update for squashfs-tools is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
High
squashfs-tools
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1425
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-41072
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-40153
https://nvd.nist.gov/vuln/detail/CVE-2021-41072
https://nvd.nist.gov/vuln/detail/CVE-2021-40153
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
squashfs-tools-4.4-5.oe1.aarch64.rpm
squashfs-tools-debuginfo-4.4-5.oe1.aarch64.rpm
squashfs-tools-debugsource-4.4-5.oe1.aarch64.rpm
squashfs-tools-debugsource-4.4-5.oe1.aarch64.rpm
squashfs-tools-4.4-5.oe1.aarch64.rpm
squashfs-tools-debuginfo-4.4-5.oe1.aarch64.rpm
squashfs-tools-4.4-5.oe1.src.rpm
squashfs-tools-4.4-5.oe1.src.rpm
squashfs-tools-debuginfo-4.4-5.oe1.x86_64.rpm
squashfs-tools-debugsource-4.4-5.oe1.x86_64.rpm
squashfs-tools-4.4-5.oe1.x86_64.rpm
squashfs-tools-4.4-5.oe1.x86_64.rpm
squashfs-tools-debugsource-4.4-5.oe1.x86_64.rpm
squashfs-tools-debuginfo-4.4-5.oe1.x86_64.rpm
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.
2021-11-12
CVE-2021-41072
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
High
8.1
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
squashfs-tools security update
2021-11-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1425
squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry; this is then used by unsquashfs to create the new file during the unsquash. The filename is not validated for traversal outside of the destination directory, and thus allows writing to locations outside of the destination.
2021-11-12
CVE-2021-40153
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
High
8.1
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
squashfs-tools security update
2021-11-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1425