Directory Traversal Affecting squashfs-tools package, versions *


medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Integrity High
    Availability High
Expand this section
NVD
8.1 high
Expand this section
Red Hat
8.1 high

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 ID SNYK-CENTOS8-SQUASHFSTOOLS-1971981
  • published 3 Sep 2021
  • disclosed 10 Sep 2019

How to fix?

There is no fixed version for Centos:8 squashfs-tools.

NVD Description

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

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.