Description: Squashfs-Tools4.5中的unsquash-1.c中的squashfs_opendir将文件名存储在目录项中;然后unsquashfs使用它在unsquash过程中创建新文件。文件名未针对目标目录之外的遍历进行验证,因此允许写入目标之外的位置。 Broken commit info: Bugfix commit info: https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646 https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646 (4.5)
PR: https://gitee.com/src-anolis-os/squashfs-tools/pulls/5