Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-32841— Path Traversal in SharpZipLib

Quick assessment

Affected
icsharpcode sharpziplib
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SharpZipLib(#ziplib,前称NZipLib)是ICSharpCode(Icsharpcode)团队的一个开源的用在.NET平台中的C#压缩解压库,它支持解压和压缩Zip、GZip、BZip2、Tar等格式的文件。 SharpZipLib 存在安全漏洞,该漏洞源于不强制 destDir 以斜线结尾。 如果 destDir 没有像 /home/user/dir 那样以斜线结尾,则可以创建一个名称以目标目录开头的文件,即 /home/user/dir.sh 。由于文件名和目标目录的限制,任意文件

CVSS 4.0 · Medium EPSS 1.08% · P63

Possible ATT&CK Techniques 1 AI

T1105 · Ingress Tool Transfer
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-32841

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Path Traversal in SharpZipLib
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
SharpZipLib 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SharpZipLib(#ziplib,前称NZipLib)是ICSharpCode(Icsharpcode)团队的一个开源的用在.NET平台中的C#压缩解压库,它支持解压和压缩Zip、GZip、BZip2、Tar等格式的文件。 SharpZipLib 存在安全漏洞,该漏洞源于不强制 destDir 以斜线结尾。 如果 destDir 没有像 /home/user/dir 那样以斜线结尾,则可以创建一个名称以目标目录开头的文件,即 /home/user/dir.sh 。由于文件名和目标目录的限制,任意文件
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
icsharpcode sharpziplib 1.3.3 ~ 1.3.3 -

II. Public POCs for CVE-2021-32841

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-32841

登录查看更多情报信息。

Patches & Fixes for CVE-2021-32841 (1)

Other References for CVE-2021-32841 (1)

Other References for CVE-2021-32841 (1)

Same Patch Batch · icsharpcode · 2022-01-26 · 3 CVEs total

CVE-2021-32840 7.3 HIGH Path Traversal in SharpZipLib
CVE-2021-32842 4.0 MEDIUM Path Traversal in SharpZipLib

IV. Related Vulnerabilities

V. Comments for CVE-2021-32841

No comments yet


Leave a comment