CVE-2016-5725
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)
02 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)
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 24.14% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 97.7% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2017-01-19 22:00Z9 YR AGO
- Last updated
- 2024-08-06 01:07Z2 YR AGO
- Reserved
- 2016-06-18
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
- Data version
- 5.1
- Document digest
- 41546a9134e241c05683078491f5b0f55ffe3134ee86f523150e8739b26edbb3
05 Affected products
06 References
- seclists.org20160921 CVE-2016-5725 - JCraft/JSch Java Secure Channel <= 0.1.53 recursive sftp-get path traversal (client-side, windows)http://seclists.org/fulldisclosure/2016/Sep/53
- www.securityfocus.com93100http://www.securityfocus.com/bid/93100
- access.redhat.comRHSA-2017:3115https://access.redhat.com/errata/RHSA-2017:3115
- www.exploit-db.com40411https://www.exploit-db.com/exploits/40411/
- lists.debian.org[debian-lts-announce] 20200425 [SECURITY] [DLA 2184-1] jsch security updatehttps://lists.debian.org/debian-lts-announce/2020/04/msg00017.html
- www.oracle.comhttps://www.oracle.com/security-alerts/cpuoct2020.html
- packetstormsecurity.comhttp://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html
- github.comhttps://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725
- www.jcraft.comhttp://www.jcraft.com/jsch/ChangeLog
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujan2021.html
- www.oracle.comhttps://www.oracle.com/security-alerts/cpuApr2021.html
07 Fixed in
Debian 12
- jsch Fixed in 0.1.54-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- jsch Fixed in 0.1.54-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- jsch Fixed in 0.1.54-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.