Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.jcraft/jsch
  4. ›
  5. CVE-2016-5725

CVE-2016-5725: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 13, 2022 (updated July 6, 2022)

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.

References

  • packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html
  • seclists.org/fulldisclosure/2016/Sep/53
  • www.jcraft.com/jsch/ChangeLog
  • access.redhat.com/errata/RHSA-2017:3115
  • github.com/advisories/GHSA-q446-82vq-w674
  • github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725
  • lists.debian.org/debian-lts-announce/2020/04/msg00017.html
  • nvd.nist.gov/vuln/detail/CVE-2016-5725
  • www.exploit-db.com/exploits/40411/
  • www.oracle.com/security-alerts/cpuApr2021.html
  • www.oracle.com/security-alerts/cpujan2021.html
  • www.oracle.com/security-alerts/cpuoct2020.html

Code Behaviors & Features

Detect and mitigate CVE-2016-5725 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.1.53

Fixed versions

  • 0.1.54

Solution

Upgrade to version 0.1.54 or above.

Impact 5.9 MEDIUM

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/com.jcraft/jsch/CVE-2016-5725.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:56 +0000.