Upstream information

CVE-2021-40153 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5.8
Vector AV:N/AC:M/Au:N/C:N/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 8.1 6.6
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Attack Vector Network Local
Attack Complexity Low Low
Privileges Required None Low
User Interaction Required Required
Scope Unchanged Unchanged
Confidentiality Impact None High
Integrity Impact High High
Availability Impact High None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1189936 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container bci/kiwi:9.24.43-2.3
Container suse/sle-micro-rancher/5.2:latest
Container suse/sle-micro-rancher/5.3:latest
Container suse/sle-micro-rancher/5.4:latest
  • squashfs >= 4.6.1-150300.3.3.1
SUSE Enterprise Storage 7.1
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-Storage-7.1-2023-4591
SUSE Liberty Linux 8
  • squashfs-tools >= 4.3-21.el8
Patchnames:
RHSA-2024:3139
SUSE Liberty Linux 9
  • squashfs-tools >= 4.4-10.git1.el9
Patchnames:
RHSA-2024:2396
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Basesystem 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP4-2023-4591
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Basesystem 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP5-2023-4591
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Basesystem 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP6 GA squashfs-4.6.1-150300.3.3.1
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP3-ESPOS-2023-4591
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP3-LTSS-2023-4591
SUSE Linux Enterprise Micro 5.1
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SUSE-MicroOS-5.1-2023-4591
SUSE Linux Enterprise Micro 5.2
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SUSE-MicroOS-5.2-2023-4591
SUSE Linux Enterprise Micro 5.3
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Micro-5.3-2023-4591
SUSE Linux Enterprise Micro 5.4
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Micro-5.4-2023-4591
SUSE Linux Enterprise Micro 5.5
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Micro-5.5-2023-4591
SUSE-SLE-Micro-5.5-2024-2463
SUSE Linux Enterprise Micro 6.0
  • squashfs >= 4.6.1-3.7
Patchnames:
SUSE Linux Enterprise Micro 6.0 GA squashfs-4.6.1-3.7
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • squashfs >= 4.6.1-8.3.2
Patchnames:
SUSE-SLE-SERVER-12-SP5-2023-4424
SUSE Linux Enterprise Server 15 SP3-LTSS
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP3-LTSS-2023-4591
SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP3-2023-4591
SUSE Manager Proxy 4.2
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Proxy-4.2-2023-4591
SUSE Manager Retail Branch Server 4.2
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.2-2023-4591
SUSE Manager Server 4.2
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Server-4.2-2023-4591
openSUSE Leap 15.4
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
openSUSE-SLE-15.4-2023-4591
openSUSE Leap 15.5
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
openSUSE-SLE-15.5-2023-4591
openSUSE Leap Micro 5.3
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
openSUSE-Leap-Micro-5.3-2023-4591
openSUSE Leap Micro 5.4
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
openSUSE-Leap-Micro-5.4-2023-4591
openSUSE Leap Micro 5.5
  • squashfs >= 4.6.1-150300.3.3.1
Patchnames:
openSUSE-Leap-Micro-5.5-2023-4591
openSUSE Tumbleweed
  • squashfs >= 4.6.1-2.1
Patchnames:
openSUSE-Tumbleweed-2024-13035


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP5 squashfs Released
SUSE Linux Enterprise Desktop 15 SP6 squashfs Released
SUSE Linux Enterprise High Performance Computing 15 SP5 squashfs Released
SUSE Linux Enterprise High Performance Computing 15 SP6 squashfs Released
SUSE Linux Enterprise Micro 5.1 squashfs Released
SUSE Linux Enterprise Micro 5.2 squashfs Released
SUSE Linux Enterprise Micro 5.3 squashfs Released
SUSE Linux Enterprise Micro 5.4 squashfs Released
SUSE Linux Enterprise Micro 5.5 squashfs Released
SUSE Linux Enterprise Micro 6.0 squashfs Released
SUSE Linux Enterprise Micro for Rancher 5.2 squashfs Released
SUSE Linux Enterprise Micro for Rancher 5.3 squashfs Released
SUSE Linux Enterprise Micro for Rancher 5.4 squashfs Released
SUSE Linux Enterprise Micro for Rancher 5.5 squashfs Released
SUSE Linux Enterprise Module for Basesystem 15 SP5 squashfs Released
SUSE Linux Enterprise Module for Basesystem 15 SP6 squashfs Released
SUSE Linux Enterprise Server 15 SP5 squashfs Released
SUSE Linux Enterprise Server 15 SP6 squashfs Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 squashfs Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 squashfs Released
SUSE Manager Proxy 4.3 squashfs Released
SUSE Manager Retail Branch Server 4.3 squashfs Released
SUSE Manager Server 4.3 squashfs Released
openSUSE Leap 15.5 squashfs Released
openSUSE Leap 15.6 squashfs Affected
openSUSE Leap Micro 5.5 squashfs Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 squashfs Released
SUSE Linux Enterprise High Performance Computing 12 SP5 squashfs Released
SUSE Linux Enterprise High Performance Computing 15 SP2 squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3 squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS squashfs Released
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS squashfs Released
SUSE Linux Enterprise High Performance Computing 15 SP4 squashfs Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS squashfs Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS squashfs Affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 squashfs Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP3 squashfs Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP4 squashfs Released
SUSE Linux Enterprise Server 12 SP5 squashfs Released
SUSE Linux Enterprise Server 12 SP5-LTSS squashfs Affected
SUSE Linux Enterprise Server 15 SP2 squashfs Unsupported
SUSE Linux Enterprise Server 15 SP2-LTSS squashfs Unsupported
SUSE Linux Enterprise Server 15 SP3 squashfs Unsupported
SUSE Linux Enterprise Server 15 SP3-LTSS squashfs Released
SUSE Linux Enterprise Server 15 SP4 squashfs Released
SUSE Linux Enterprise Server 15 SP4-LTSS squashfs Affected
SUSE Linux Enterprise Server 15-ESPOS squashfs Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 squashfs Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 squashfs Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP3 squashfs Unsupported
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 squashfs Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 squashfs Released
SUSE Linux Enterprise Server for SAP Applications 15 SP2 squashfs Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP3 squashfs Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 squashfs Released
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 squashfs Affected
SUSE CaaS Platform 4.0 squashfs Unsupported
SUSE CaaS Platform 4.5 squashfs Unsupported
SUSE CaaS Platform Toolchain 3 squashfs Affected
SUSE Enterprise Storage 6 squashfs Affected
SUSE Enterprise Storage 7 squashfs Affected
SUSE Enterprise Storage 7.1 squashfs Released
SUSE Linux Enterprise Desktop 11 SP2 squashfs Unsupported
SUSE Linux Enterprise Desktop 11 SP3 squashfs Unsupported
SUSE Linux Enterprise Desktop 11 SP4 squashfs Unsupported
SUSE Linux Enterprise Desktop 12 SP2 squashfs Affected
SUSE Linux Enterprise Desktop 12 SP3 squashfs Affected
SUSE Linux Enterprise Desktop 12 SP4 squashfs Affected
SUSE Linux Enterprise Desktop 15 squashfs Unsupported
SUSE Linux Enterprise Desktop 15 SP1 squashfs Unsupported
SUSE Linux Enterprise Desktop 15 SP2 squashfs Unsupported
SUSE Linux Enterprise Desktop 15 SP3 squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15 squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1 squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15-ESPOS squashfs Unsupported
SUSE Linux Enterprise High Performance Computing 15-LTSS squashfs Unsupported
SUSE Linux Enterprise Micro 5.0 squashfs Unsupported
SUSE Linux Enterprise Module for Basesystem 15 squashfs Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP1 squashfs Unsupported
SUSE Linux Enterprise Point of Sale 11 SP3 squashfs Unsupported
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT squashfs Affected
SUSE Linux Enterprise Point of Service 11 SP3 squashfs Unsupported
SUSE Linux Enterprise Real Time 15 SP2 squashfs Unsupported
SUSE Linux Enterprise Real Time 15 SP3 squashfs Released
SUSE Linux Enterprise Real Time 15 SP4 squashfs Affected
SUSE Linux Enterprise Server 11 SP2 squashfs Unsupported
SUSE Linux Enterprise Server 11 SP2-LTSS squashfs Unsupported
SUSE Linux Enterprise Server 11 SP3 squashfs Unsupported
SUSE Linux Enterprise Server 11 SP3-LTSS squashfs Unsupported
SUSE Linux Enterprise Server 11 SP4 squashfs Unsupported
SUSE Linux Enterprise Server 11 SP4 LTSS squashfs Unsupported
SUSE Linux Enterprise Server 11 SP4-LTSS squashfs Unsupported
SUSE Linux Enterprise Server 12 SP2 squashfs Affected
SUSE Linux Enterprise Server 12 SP2-BCL squashfs Affected
SUSE Linux Enterprise Server 12 SP2-ESPOS squashfs Affected
SUSE Linux Enterprise Server 12 SP2-LTSS squashfs Affected
SUSE Linux Enterprise Server 12 SP3 squashfs Affected
SUSE Linux Enterprise Server 12 SP3-BCL squashfs Unsupported
SUSE Linux Enterprise Server 12 SP3-ESPOS squashfs Unsupported
SUSE Linux Enterprise Server 12 SP3-LTSS squashfs Unsupported
SUSE Linux Enterprise Server 12 SP4 squashfs Affected
SUSE Linux Enterprise Server 12 SP4-ESPOS squashfs Affected
SUSE Linux Enterprise Server 12 SP4-LTSS squashfs Affected
SUSE Linux Enterprise Server 15 squashfs Unsupported
SUSE Linux Enterprise Server 15 SP1 squashfs Unsupported
SUSE Linux Enterprise Server 15 SP1-BCL squashfs Unsupported
SUSE Linux Enterprise Server 15 SP1-LTSS squashfs Unsupported
SUSE Linux Enterprise Server 15 SP2-BCL squashfs Unsupported
SUSE Linux Enterprise Server 15 SP3-BCL squashfs Affected
SUSE Linux Enterprise Server 15-LTSS squashfs Unsupported
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 squashfs Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 squashfs Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 squashfs Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP4 squashfs Affected
SUSE Linux Enterprise Server for SAP Applications 15 squashfs Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP1 squashfs Unsupported
SUSE Manager Proxy 4.0 squashfs Unsupported
SUSE Manager Proxy 4.1 squashfs Unsupported
SUSE Manager Proxy 4.2 squashfs Released
SUSE Manager Retail Branch Server 4.0 squashfs Unsupported
SUSE Manager Retail Branch Server 4.1 squashfs Unsupported
SUSE Manager Retail Branch Server 4.2 squashfs Released
SUSE Manager Server 4.0 squashfs Unsupported
SUSE Manager Server 4.1 squashfs Unsupported
SUSE Manager Server 4.2 squashfs Released
SUSE OpenStack Cloud 7 squashfs Affected
SUSE OpenStack Cloud 8 squashfs Affected
SUSE OpenStack Cloud 9 squashfs Affected
SUSE OpenStack Cloud Crowbar 8 squashfs Affected
SUSE OpenStack Cloud Crowbar 9 squashfs Affected
openSUSE Leap 15.3 squashfs Released
openSUSE Leap 15.4 squashfs Released
openSUSE Leap Micro 5.2 squashfs Affected
openSUSE Leap Micro 5.3 squashfs Released
openSUSE Leap Micro 5.4 squashfs Released
Container Status
bci/kiwi
suse/sle-micro-rancher/5.2
suse/sle-micro-rancher/5.3
suse/sle-micro-rancher/5.4
squashfsReleased
rancher/elemental-builder-image/5.3 squashfsIn progress


SUSE Timeline for this CVE

CVE page created: Fri Aug 27 22:00:10 2021
CVE page last modified: Mon Nov 18 14:02:47 2024