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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-32840— 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 存在安全漏洞,该漏洞源于可以在 的父目录中提取 TAR 文件条目 。 这会导致可能导致代码执行的任意文件写入。

CVSS 7.3 · High EPSS 1.97% · P79

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-32840

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. Prior to version 1.3.3, a TAR file entry `../evil.txt` may be extracted in the parent directory of `destFolder`. This leads to arbitrary file write that may lead to code execution. The vulnerability was patched in version 1.3.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
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 存在安全漏洞,该漏洞源于可以在 `destFolder` 的父目录中提取 TAR 文件条目 `../evil.txt`。 这会导致可能导致代码执行的任意文件写入。
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-32840

# 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-32840

登录查看更多情报信息。

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

Other References for CVE-2021-32840 (1)

Other References for CVE-2021-32840 (1)

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

CVE-2021-32841 4.0 MEDIUM Path Traversal in SharpZipLib
CVE-2021-32842 4.0 MEDIUM Path Traversal in SharpZipLib

IV. Related Vulnerabilities

V. Comments for CVE-2021-32840

No comments yet


Leave a comment