Improper Input Validation Affecting winscp package, versions [,5.13.8)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.6% (68th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-WINSCP-2380955
  • published26 Jan 2022
  • disclosed10 Jan 2019
  • creditUnknown

Introduced: 10 Jan 2019

CVE-2018-20684  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade winscp to version 5.13.8 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. In WinSCP before 5.14 beta, due to missing validation, the scp implementation would accept arbitrary files sent by the server, potentially overwriting unrelated files. This affects TSCPFileSystem::SCPSink in core/ScpFileSystem.cpp.

CVSS Base Scores

version 3.1