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

admin 2023-11-30 13:13:48 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 sharpziplib_project sharpziplib 对路径名的限制不恰当(路径遍历)

CVE编号

CVE-2021-32842

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-01-27
漏洞描述
SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.0.0 and prior to version 1.3.3, a check was added if the destination file is under a destination directory. However, it is not enforced that `_baseDirectory` ends with slash. If the _baseDirectory is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one level up from the 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 fixed this vulnerability.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3
https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 sharpziplib_project sharpziplib * From (including) 1.0.0 Up to (excluding) 1.3.3
运行在以下环境
系统 debian_10 mono * Up to (excluding) 5.18.0.240+dfsg-3
运行在以下环境
系统 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
运行在以下环境
系统 debian_sid mono * Up to (excluding) 6.8.0.105+dfsg-3.5
阿里云评分 4.8
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0