Symlink Attack Affecting plougher/squashfs-tools package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (58th 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-UNMANAGED-PLOUGHERSQUASHFSTOOLS-2367334
  • published26 Jan 2022
  • disclosed14 Sept 2021
  • creditUnknown

Introduced: 14 Sep 2021

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

How to fix?

There is no fixed version for plougher/squashfs-tools.

Overview

Affected versions of this package are vulnerable to Symlink Attack 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 Scores

version 3.1