8.1
HIGH CVSS 3.1
CVE-2021-41072
Squashfs-Tools Directory Traversal Vulnerability
Description

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.

INFO

Published Date :

Sept. 14, 2021, 1:15 a.m.

Last Modified :

Nov. 21, 2024, 6:25 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-41072 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Squashfs-tools_project squashfs-tools
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Update Squashfs-Tools to address a directory traversal vulnerability in the affected packages.
  • Update the affected squashfs-tools packages.
  • Upgrade to the latest available version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-41072 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-41072 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-41072 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd
    Added Reference https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405
    Added Reference https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html
    Added Reference https://security.gentoo.org/glsa/202305-29
    Added Reference https://www.debian.org/security/2021/dsa-4987
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 30, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202305-29 [No Types Assigned]
  • CWE Remap by [email protected]

    Jun. 28, 2022

    Action Type Old Value New Value
    Changed CWE CWE-59 CWE-22 CWE-59
  • Modified Analysis by [email protected]

    Nov. 05, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html Mailing List, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2021/dsa-4987 No Types Assigned https://www.debian.org/security/2021/dsa-4987 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 21, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/10/msg00017.html [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 15, 2021

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2021/dsa-4987 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 24, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
    Changed Reference Type https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd No Types Assigned https://github.com/plougher/squashfs-tools/commit/e0485802ec72996c20026da320650d8362f555bd Patch, Third Party Advisory
    Changed Reference Type https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405 No Types Assigned https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405 Exploit, Third Party Advisory
    Added CWE NIST CWE-59
    Added CPE Configuration OR *cpe:2.3:a:squashfs-tools_project:squashfs-tools:4.5:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

3.58 }} 0.21%

score

0.87324

percentile