Remote Code Execution (RCE) Affecting winscp package, versions [,5.17.10)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.61% (80th 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-WINSCP-1065805
  • published28 Jan 2021
  • disclosed28 Jan 2021
  • creditUnknown

Introduced: 28 Jan 2021

CVE-2021-3331  (opens in a new tab)
CWE-94  (opens in a new tab)

How 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.)

CVSS Scores

version 3.1