SUSE-SU-2023:4591-1: Security update for squashfs

Published Nov 27, 2023
·
Updated

This update for squashfs fixes the following issues: CVE-2015-4645,CVE-2015-4646: Multiple buffer overflows fixed in squashfs-tools (bsc#935380) CVE-2021-40153: Fixed an issue where an attacker might have been able to write a file outside of destination (bsc#1189936) CVE-2021-41072: Fixed an issue where an attacker might have been able to write a file outside the destination directory via a symlink (bsc#1190531). update to 4.6.1: Race condition which can cause corruption of the "fragment table" fixed. This is a regression introduced in August 2022, and it has been seen when tailend packing is used (-tailends option). Fix build failure when the tools are being built without extended attribute (XATTRs) support. Fix XATTR error message when an unrecognised prefix is found Fix incorrect free of pointer when an unrecognised XATTR prefix is found. Major improvements in extended attribute handling, pseudo file handling, and miscellaneous new options and improvements Extended attribute handling improved in Mksquashfs and Sqfstar New Pseudo file xattr definition to add extended attributes to files. New xattrs-add Action to add extended attributes to files Extended attribute handling improved in Unsquashfs Other major improvements Unsquashfs can now output Pseudo files to standard out. Mksquashfs can now input Pseudo files from standard in. Squashfs filesystems can now be converted (different block size compression etc) without unpacking to an intermediate filesystem or mounting, by piping the output of Unsquashfs to Mksquashfs. Pseudo files are now supported by Sqfstar. "Non-anchored" excludes are now supported by Unsquashfs. update to 4.5.1 (bsc#1190531, CVE-2021-41072): This release adds Manpages for Mksquashfs(1), Unsquashfs(1), Sqfstar(1) and Sqfscat(1). The -help text output from the utilities has been improved and extended as well (but the Manpages are now more comprehensive). CVE-2021-41072 which is a writing outside of destination exploit, has been fixed. The number of hard-links in the filesystem is now also displayed by Mksquashfs in the output summary. The number of hard-links written by Unsquashfs is now also displayed in the output summary. Unsquashfs will now write to a pre-existing destination directory, rather than aborting. Unsquashfs now allows "." to used as the destination, to extract to the current directory. The Unsquashfs progress bar now tracks empty files and hardlinks, in addition to data blocks. -no-hardlinks option has been implemented for Sqfstar. More sanity checking for "corrupted" filesystems, including checks for multiply linked directories and directory loops. Options that may cause filesystems to be unmountable have been moved into a new "experts" category in the Mksquashfs help text (and Manpage). Maximum cpiostyle filename limited to PATHMAX. This prevents attempts to overflow the stack, or cause system calls to fail with a too long pathname. Don't always use "max open file limit" when calculating length of queues, as a very large file limit can cause Unsquashfs to abort. Instead use the smaller of max open file limit and cache size. Fix Mksquashfs silently ignoring Pseudo file definitions when appending. Don't abort if no XATTR support has been built in, and there's XATTRs in the filesystem. This is a regression introduced in 2019 in Version 4.4. Fix duplicate check when the last file block is sparse. update to 4.5: Mksquashfs now supports "Actions". New sqfstar command which will create a Squashfs image from a tar archive. Tar style handling of source pathnames in Mksquashfs. Cpio style handling of source pathnames in Mksquashfs. New option to throttle the amount of CPU and I/O. Mksquashfs now allows no source directory to be specified. New Pseudo file "R" definition which allows a Regular file o be created with data stored within the Pseudo file. Symbolic links are now followed in extract files Unsquashfs now supports "exclude" files. Max depth traversal option added. Unsquashfs can now output a "Pseudo file" representing the input Squashfs filesystem. New -one-file-system option in Mksquashfs. New -no-hardlinks option in Mksquashfs. Exit code in Unsquashfs changed to distinguish between non-fatal errors (exit 2), and fatal errors (exit 1). Xattr id count added in Unsquashfs "-stat" output. Unsquashfs "write outside directory" exploit fixed. Error handling in Unsquashfs writer thread fixed. Fix failure to truncate destination if appending aborted. Prevent Mksquashfs reading the destination file.

Affected Software

92 affected componentsFixes available
All of the following
SUSE openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Micro for Rancher 5.3 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Micro 5.3 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Micro for Rancher 5.4 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Micro 5.4 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Micro 5.5 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE Basesystem Module 15-SP4 (aarch64 ppc64le s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE Basesystem Module 15-SP5 (aarch64 ppc64le s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (aarch64 x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (aarch64 x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (aarch64 ppc64le s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Server for SAP Applications 15 SP3 (ppc64le x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Manager Proxy 4.2 (x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Manager Retail Branch Server 4.2 (x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Manager Server 4.2 (ppc64le s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Enterprise Storage 7.1 (aarch64 x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Micro 5.1 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Micro 5.2 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE SUSE Linux Enterprise Micro for Rancher 5.2 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64 i586)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE openSUSE Leap Micro 5.3 (aarch64 x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
All of the following
SUSE openSUSE Leap Micro 5.4 (aarch64 s390x x86_64)
Any of the following
suse/squashfs-debugsource<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs-debuginfo<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1
suse/squashfs<4.6.1-150300.3.3.1
4.6.1-150300.3.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade suse/squashfs-debugsource to a version that resolves this vulnerability.

    Fixed in 4.6.1-150300.3.3.1
  2. Upgrade

    Upgrade suse/squashfs-debuginfo to a version that resolves this vulnerability.

    Fixed in 4.6.1-150300.3.3.1
  3. Upgrade

    Upgrade suse/squashfs to a version that resolves this vulnerability.

    Fixed in 4.6.1-150300.3.3.1
  4. Upgrade

    Upgrade squashfs-tools to a version that resolves this vulnerability.

    Fixed in 4.6.1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch SUSE-2023-4591=1

Event History

Nov 27, 2023
Advisory Published
04:30 PM

Child vulnerabilities

Contains the following vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203