【安全公告:UTSA-2022-000017】-【CVE-2021-40153】

发布日期:2022-01-14

基本信息

漏洞编号: CVE-2021-40153

受影响系统版本: 桌面专业版

受影响源码包: squashfs-tools

修复版本: 1:4.3-12+deb10u1

CWE编号: CWE-22

漏洞等级: 高危

CVSS_v3评分: 8.1

漏洞描述

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
结果说明:版本小于修复版本,则受此漏洞影响,版本大于等于修复版本,则此漏洞已修复。