Vulnerability Information
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
SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant)
Vulnerability Description
SharpCompress is a fully managed C# library to deal with many compression types and formats. In 0.47.4 and earlier, a path traversal vulnerability in IArchive.WriteToDirectory() allows a malicious archive to create directories outside the intended extraction root. For TAR archives, this can be escalated to arbitrary file writes by chaining with a symlink entry, giving a full write primitive on the target filesystem subject to the permissions of the running process.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
SharpCompress 路径遍历漏洞
Vulnerability Description
SharpCompress是Adam Hathcock个人开发者的一个纯C#压缩库。用于 .NET Standard 2.0、2.1、.NET Core 3.1 和 .NET 5.0 。 SharpCompress 0.47.4及之前版本存在路径遍历漏洞,该漏洞源于IArchive.WriteToDirectory()方法存在路径遍历,可能导致任意文件写入。
CVSS Information
N/A
Vulnerability Type
N/A