Remote Code Execution (RCE) Affecting winscp package, versions [,5.17.10)
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
0.53% (77th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DOTNET-WINSCP-1065805
- published 28 Jan 2021
- disclosed 28 Jan 2021
- credit Unknown
Introduced: 28 Jan 2021
CVE-2021-3331 Open this link in a new tabHow to fix?
Upgrade WinSCP
to version 5.17.10 or higher.
Overview
WinSCP is a .NET wrapper around WinSCP’s scripting interface that allows your code to connect to a remote machine and manipulate remote files over SFTP, FTP, WebDAV, S3 and SCP sessions.
Affected versions of this package are vulnerable to Remote Code Execution (RCE). WinSCP allows remote attackers to execute arbitrary programs when the URL handler encounters a crafted URL that loads session settings. (For example, this is exploitable in a default installation in which WinSCP is the handler for sftp:// URLs.)