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
SSH.NET: ScpClient Recursive Download Allows Arbitrary File Write via Server-Controlled SCP Filenames
Vulnerability Description
SSH.NET is a Secure Shell (SSH) library for .NET. In 2025.1.0 and earlier, ScpClient.Download(string directoryName, DirectoryInfo directoryInfo) trusts file and directory names returned by a remote SCP server and combines them with the requested local directory without containment validation, allowing a malicious, compromised, or man-in-the-middle server to use ../ sequences or absolute paths to create or overwrite files anywhere writable by the client process. This issue is fixed in version 2026.0.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
SSH.NET 路径遍历漏洞
Vulnerability Description
SSH.NET是SSH.NET组织开源的一个针对并行优化的SSH库。 SSH.NET 2026.0.0之前版本存在安全漏洞,该漏洞源于ScpClient.Download方法信任远程SCP服务器返回的文件和目录名,未进行包含验证,可能导致恶意、被入侵或中间人服务器通过../序列或绝对路径创建或覆盖客户端进程可写任意位置的文件。
CVSS Information
N/A
Vulnerability Type
N/A