安全公告/【CVE-2021-40153】

基本信息

漏洞名称:
受影响操作系统:桌面操作系统
危险等级:高危
影响源码包:squashfs-tools
CVSS评分:8.1
发现日期:2022-01-18
修复版本:1:4.3-12+deb10u1

漏洞描述

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.

修复方式

sudo apt update && sudo apt dist-upgrade

漏洞判定

执行命令apt policy PackageName获取软件包版本号,版本小于修复版本,则受此漏洞影响,版本大于等于修复版本,则此漏洞已修复

补丁

参考

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40153
https://nvd.nist.gov/vuln/detail/CVE-2021-40153