Arbitrary Code Execution 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.62% (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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-WINSCP-2380951
  • published26 Jan 2022
  • disclosed27 Jan 2021
  • creditUnknown

Introduced: 27 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

Affected versions of this package are vulnerable to Arbitrary Code Execution. WinSCP before 5.17.10 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 Base Scores

version 3.1