CVE-2021-40153
Squashfs-Tools File Traversal Vulnerability
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.
INFO
Published Date :
Aug. 27, 2021, 3:15 p.m.
Last Modified :
Nov. 21, 2024, 6:23 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2021-40153 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-40153
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.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-40153
.
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).
Automatic monitor github cve using Github Actions
Python
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-40153
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-40153
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://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790 Added Reference https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646 Added Reference https://github.com/plougher/squashfs-tools/issues/72 Added Reference https://lists.debian.org/debian-lts-announce/2021/08/msg00030.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/ Added Reference https://security.gentoo.org/glsa/202305-29 Added Reference https://www.debian.org/security/2021/dsa-4967 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/ -
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] -
Modified Analysis by [email protected]
Oct. 07, 2021
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/ Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 29, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/ [No Types Assigned] -
Modified Analysis by [email protected]
Sep. 07, 2021
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Removed CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:P/A:P) Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 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://www.debian.org/security/2021/dsa-4967 No Types Assigned https://www.debian.org/security/2021/dsa-4967 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 05, 2021
Action Type Old Value New Value Added Reference https://www.debian.org/security/2021/dsa-4967 [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 01, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790 No Types Assigned https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790 Third Party Advisory Changed Reference Type https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646 No Types Assigned https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646 Patch, Third Party Advisory Changed Reference Type https://github.com/plougher/squashfs-tools/issues/72 No Types Assigned https://github.com/plougher/squashfs-tools/issues/72 Exploit, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/08/msg00030.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/08/msg00030.html Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/ Mailing List, Third Party Advisory Added CWE NIST CWE-22 Added CPE Configuration OR *cpe:2.3:a:squashfs-tools_project:squashfs-tools:4.5:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Aug. 31, 2021
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2021/08/msg00030.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 30, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/ [No Types Assigned]
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-40153
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-40153
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.46 }} -0.75%
score
0.74933
percentile