WaratekVRT Sign in

CVE-2016-5725 JCraft JSch

Affected softwareJCraft JSch
Severity5.9 Medium CVSS 3.0 2 scores
Fixed in0.1.54
WeaknessPath traversal (CWE-22)
Published19 Jan 2017
Updated17 Jun 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2016-09-22.
  • EPSS 24% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB JCraft/JSch Java Secure Channel 0.1.53 - Recursive sftp-get Directory Traversal 2016-09-22

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available patch rule
  • Review human ARMR file
  • Record active
Decided by An ARMR patch file on disk for this CVE
Finding CVE has an ARMR patch rule that provides mitigation

ARMR rule files

1 file

The rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.

CVE-2016-5725.armr patch rule, ARMR 2.6 added 2019-03-26 updated 2026-03-04

How to mitigate CVE-2016-5725

Upgrade JCraft JSch to 0.1.54 or later. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.9 MEDIUM v3.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 5.9 MEDIUM CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2021 ↗ CPU 2021-Q2 Oracle Construction and Engineering / Admin (JCraft JSch) (17.12.0-17.12.10)
Oracle JD Edwards / Enterprise Infrastructure SEC (JCraft JSch) (Prior to 9.2.5.0)
Oracle Critical Patch Update January 2021 ↗ CPU 2021-Q1 Oracle Fusion Middleware / Install, config, upgrade (JCraft JSch) (11.1.1.9.0, 12.2.1.3.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Construction and Engineering Admin (JCraft JSch) 17.12.0-17.12.10
Oracle Fusion Middleware Install, config, upgrade (JCraft JSch) 11.1.1.9.0, 12.2.1.3.0 11.1.1.9.0 · 12.2.1.3.0
Oracle JD Edwards Enterprise Infrastructure SEC (JCraft JSch) Prior to 9.2.5.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.jcraft:jsch 0 0.1.54 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.jcraft jsch generic < 0.1.54
nvd jcraft jsch generic ≤ 0.1.53

References

URLTags
https://access.redhat.com/errata/RHSA-2017:3115 WEB
https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 WEB
https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html WEB
https://www.exploit-db.com/exploits/40411 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
http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html WEB
http://seclists.org/fulldisclosure/2016/Sep/53 WEB
http://www.jcraft.com/jsch/ChangeLog WEB

Timeline

Published2017-01-19By the CVE Program.
ARMR remediation created2019-03-26Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-03-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-03-04Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-06-17NVD's own last-modified date for this record.