Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.sshd/sshd-sftp
  4. ›
  5. CVE-2023-35887

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

July 10, 2023 (updated July 19, 2023)

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache MINA.

In SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem, logged users may be able to discover “exists/does not exist” information about items outside the rooted tree via paths including parent navigation ("..") beyond the root, or involving symlinks.

This issue affects Apache MINA: from 1.0 before 2.10. Users are recommended to upgrade to 2.10

References

  • github.com/advisories/GHSA-mjmq-gwgm-5qhm
  • github.com/apache/mina-sshd/commit/a61e93035f06bff8fc622ad94870fb773d48b9f0
  • github.com/apache/mina-sshd/pull/362
  • issues.apache.org/jira/browse/SSHD-1324
  • lists.apache.org/thread/b9qgtqvhnvgfpn0w1gz918p21p53tqk2
  • nvd.nist.gov/vuln/detail/CVE-2023-35887

Code Behaviors & Features

Detect and mitigate CVE-2023-35887 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 starting from 1.0.0 before 2.10.0

Fixed versions

  • 2.10.0

Solution

Upgrade to version 2.10.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

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

Source file

maven/org.apache.sshd/sshd-sftp/CVE-2023-35887.yml

Spotted a mistake? Edit the file on GitLab.

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

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