Medium, CVSS 5.9MavenPublished
Improper Limitation of a Pathname to a Restricted Directory in JCraft JSch
CVE-2016-5725 · GHSA-q446-82vq-w674
- Affected
- Maven com.jcraft:jsch <= 0.1.53
- Fixed in
- 0.1.54· Vendor fix available
- Issue
- Directory traversal vulnerability in JCraft JSch before 0.1.54 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.
Recommended action: Upgrade to 0.1.54 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.