Unrated severityNVD Advisory· Published Aug 27, 2021· Updated Aug 4, 2024
CVE-2021-40153
CVE-2021-40153
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
24- Squashfs-Tools/Squashfs-Toolsdescription
- Range: =4.5
- osv-coords22 versionspkg:rpm/almalinux/squashfs-toolspkg:rpm/opensuse/squashfs&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/squashfs&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/squashfs&distro=openSUSE%20Leap%20Micro%205.3pkg:rpm/opensuse/squashfs&distro=openSUSE%20Leap%20Micro%205.4pkg:rpm/opensuse/squashfs&distro=openSUSE%20Tumbleweedpkg:rpm/suse/squashfs&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOSpkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/squashfs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/squashfs&distro=SUSE%20Manager%20Proxy%204.2pkg:rpm/suse/squashfs&distro=SUSE%20Manager%20Server%204.2
< 4.4-10.git1.el9+ 21 more
- (no CPE)range: < 4.4-10.git1.el9
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-2.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-8.3.2
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-8.3.2
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
- (no CPE)range: < 4.6.1-150300.3.3.1
Patches
Vulnerability mechanics
References
8- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/mitrevendor-advisory
- security.gentoo.org/glsa/202305-29mitrevendor-advisory
- www.debian.org/security/2021/dsa-4967mitrevendor-advisory
- lists.debian.org/debian-lts-announce/2021/08/msg00030.htmlmitremailing-list
- bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790mitre
- github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646mitre
- github.com/plougher/squashfs-tools/issues/72mitre
News mentions
0No linked articles in our index yet.