CVE-2021-40153
Detail
Modified
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:M/Au:N/C:N/I:P/A:P)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
NIST
Change History
11 change records found show changes
CVE Modified by CVE 11/21/2024 1:23:40 AM
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 MITRE 5/14/2024 5:26:33 AM
Action
Type
Old Value
New Value
CVE Modified by MITRE 11/06/2023 10:38:32 PM
Action
Type
Old Value
New Value
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/ [No types assigned]
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/
CVE Modified by MITRE 5/30/2023 2:15:17 AM
Action
Type
Old Value
New Value
Added
Reference
https://security.gentoo.org/glsa/202305-29 [No Types Assigned]
Modified Analysis by NIST 10/07/2021 1:48:55 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
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
CVE Modified by MITRE 9/28/2021 11:15:07 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/ [No Types Assigned]
Modified Analysis by NIST 9/07/2021 3:40:26 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Removed
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CVSS V2
NIST (AV:N/AC:M/Au:N/C:N/I:P/A:P)
Removed
CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
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:*:*:*:*:*:*:*
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
Added
CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
CVE Modified by MITRE 9/04/2021 11:15:06 PM
Action
Type
Old Value
New Value
Added
Reference
https://www.debian.org/security/2021/dsa-4967 [No Types Assigned]
Initial Analysis by NIST 9/01/2021 1:58:24 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
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:debian:debian_linux:9.0:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
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
CVE Modified by MITRE 8/31/2021 5:15:07 PM
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 MITRE 8/30/2021 7:15:07 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/ [No Types Assigned]
Quick Info
CVE Dictionary Entry: CVE-2021-40153 NVD
Published Date: 08/27/2021 NVD
Last Modified: 11/21/2024
Source: MITRE