漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
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