Path Traversal Vulnerability in jsch

jsch Updated 02 Oct 2025

Summary

05/09/2016
N/A
Yes i
Unrated
Not published

DLA-611-1: jsch - security update. Affects jsch versions < 0.1.42-2+deb7u1. Fixed in 0.1.42-2+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

jsch is a pure Java implementation of the SSH2 protocol, providing a secure way to establish a communication channel between two computers. It is commonly used for secure file transfers and remote command execution. However, a vulnerability has been discovered in jsch that allows an attacker to perform path traversal attacks.

Vulnerability Detail

The path traversal vulnerability in jsch allows an attacker to access files and directories outside of the intended directory. By manipulating the file path in a specific way, an attacker can bypass security measures and gain unauthorized access to sensitive files. This can lead to information disclosure, remote code execution, and other malicious activities.

How To Fix

Minimum fixed version

0.1.42-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade jsch

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading the jsch package to the patched version.

Conclusion

The path traversal vulnerability in jsch can have severe consequences, including unauthorized access to sensitive files and remote code execution. It is crucial to upgrade the jsch package to the patched version (0.1.42-2+deb7u1 or later) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for jsch →

Share this vulnerability

FAQ

jsch is a pure Java implementation of the SSH2 protocol, providing secure communication channels between two computers.

A path traversal vulnerability allows an attacker to access files and directories outside of the intended directory by manipulating the file path.

The path traversal vulnerability in jsch can lead to unauthorized access to sensitive files, information disclosure, and remote code execution.

To fix this vulnerability, upgrade the jsch package to version 0.1.42-2+deb7u1 or later.

There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading the jsch package.

Related vulnerabilities

Recent vulnerabilities recorded for jsch.

How To Fix

Minimum fixed version

0.1.42-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade jsch

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback