{"id":"AZL-7463","summary":"CVE-2021-40153 affecting package squashfs-tools for versions less than 4.5.1-1","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.","modified":"2026-04-21T04:38:45.592740Z","published":"2021-08-27T15:15:09Z","upstream":["CVE-2021-40153"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40153"}],"affected":[{"package":{"name":"squashfs-tools","ecosystem":"Azure Linux:2","purl":"pkg:rpm/azure-linux/squashfs-tools"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-7463.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"}]}