Directory Traversal Affecting squashfs package, versions <4.6.1-150300.3.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
2.3% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES154-SQUASHFS-6091131
  • published28 Nov 2023
  • disclosed27 Nov 2023

Introduced: 27 Nov 2023

CVE-2021-41072  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 squashfs to version 4.6.1-150300.3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream squashfs package and not the squashfs package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1