中危 sharpziplib_project sharpziplib 对路径名的限制不恰当(路径遍历)

CVE编号

CVE-2021-32841

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-01-27
漏洞描述
SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.3.0 and prior to version 1.3.3, a check was added if the destination file is under destination directory. However, it is not enforced that `destDir` ends with slash. If the `destDir` is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins with the destination directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints, the arbitrary file creation impact is limited and depends on the use case. Version 1.3.3 contains a patch for this vulnerability.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 sharpziplib_project sharpziplib * From
(including)
1.3.0
Up to
(excluding)
1.3.3
运行在以下环境
系统 debian_10 mono * Up to
(excluding)
5.18.0.240+dfsg-3+deb10u1
运行在以下环境
系统 debian_11 mono * Up to
(excluding)
6.8.0.105+dfsg-3.3~deb11u1
运行在以下环境
系统 debian_12 mono * Up to
(excluding)
6.8.0.105+dfsg-3.3
阿里云评分
4.8
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    管控权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
阿里云安全产品覆盖情况