com.jcraft:jsch@0.1.47 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.jcraft:jsch package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Directory Traversal

com.jcraft:jsch is a pure Java implementation of SSH2.

Affected versions of this package are vulnerable to Directory Traversal on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\ (dot dot backslash) in a response to a recursive GET command.

How to fix Directory Traversal?

Upgrade com.jcraft:jsch to version 0.1.54 or higher.

[0.1.29,0.1.54)