MODERATE 5.9

CVE-2016-5725

Improper Limitation of a Pathname to a Restricted Directory in JCraft JSch

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.jcraft » jsch
< 0.1.54
0.1.54

Blast radius

1affected artifacts
40affected versions
14,393dependent artifacts (est.)
716,680dependent versions

61% of the dependent artifacts (8,830) still pull an affected version in their latest release.

DepthDependent versions
Direct
17,772
2 hops
159,370
3 hops
207,624
4 hops
177,296
5 hops
99,569
6 hops
55,049

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.