CVE-2016-5725
medium
CVSS v3
5.9
CVSS v4 NEW
โ
VIR risk
6.9
Description
Improper Limitation of a Pathname to a Restricted Directory in JCraft JSch
Predictions
Exploit likelihood
69%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
JCraft/JSch Java Secure Channel 0.1.53 - Recursive sftp-get Directory Traversal
Source code queued for fetch โ refresh in a moment.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0.1.54-1 |
| debian | bullseye | fixed | 0.1.54-1 |
| debian | forky | fixed | 0.1.54-1 |
| debian | sid | fixed | 0.1.54-1 |
| debian | trixie | fixed | 0.1.54-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | com.jcraft:jsch | <0.1.54 | 0.1.54 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| jcraft | jsch | {"endIncluding":"0.1.53"} | |
References
- http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html
- http://seclists.org/fulldisclosure/2016/Sep/53
- http://www.jcraft.com/jsch/ChangeLog
- http://www.securityfocus.com/bid/93100
- https://access.redhat.com/errata/RHSA-2017:3115
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725
- https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html
- https://www.exploit-db.com/exploits/40411/
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-5725
- https://www.exploit-db.com/exploits/40411
- https://security-tracker.debian.org/tracker/CVE-2016-5725
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.