CVE-2016-5725
MEDIUM 5.9CVSS 3.0Improper Limitation of a Pathname to a Restricted Directory in JCraft JSch
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.
- Published
- 19 Jan 2017
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-q446-82vq-w674
- Sources
- NVDJSONOSV GHSA-q446-82vq-w674JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jcraft | jschcpe:2.3:a:jcraft:jsch:*:*:*:*:*:*:*:* |
<= 0.1.53 | |
| OSV | Maven | com.jcraft:jsch | < 0.1.54 | 0.1.54 |
References
- http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html · Third Party Advisory, VDB Entry, WEB
- http://seclists.org/fulldisclosure/2016/Sep/53 · Mailing List, Third Party Advisory, WEB
- http://www.jcraft.com/jsch/ChangeLog · Release Notes, WEB
- http://www.securityfocus.com/bid/93100 · Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3115 · WEB
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html · WEB
- https://www.exploit-db.com/exploits/40411/ · Third Party Advisory, VDB Entry, WEB
- https://www.oracle.com/security-alerts/cpuApr2021.html · WEB
- https://www.oracle.com/security-alerts/cpujan2021.html · WEB
- https://www.oracle.com/security-alerts/cpuoct2020.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-5725 · ADVISORY
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 19 Jan 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)