DEBIAN-CVE-2021-40153

Source
https://security-tracker.debian.org/tracker/CVE-2021-40153
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40153.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2021-40153
Upstream
Downstream
Published
2021-08-27T15:15:09Z
Modified
2026-09-01T20:04:32Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/debian/squashfs-tools?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:4.5-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40153.json"

Debian:13 / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/debian/squashfs-tools?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:4.5-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40153.json"

Debian:14 / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/debian/squashfs-tools?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:4.5-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40153.json"