CVE-2023-35887
JSON

5.0medium

Apache MINA SSHD: Information disclosure bugs with RootedFilesystem

Severity
5.0medium CVSS:3.1 by apache
Exploit likelihood
1.31% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-mjmq-gwgm-5qhm

Description

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

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache MINA SSHDfrom 1.0 before 2.10CVE List
org.apache.sshd:sshd-common (Maven)from 2.1.0 before 2.9.3GitHub Advisory Database
org.apache.sshd:sshd-sftp (Maven)from 1.0.0 before 2.9.3GitHub Advisory Database
org.apache.sshd:sshd-core (Maven)from 1.0.0 before 2.1.0GitHub Advisory Database
apache sshdfrom 1.0.0 before 2.9.3NVD

All scores

apache5.0medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
GitHub5.0medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-22CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

GitHub Advisory Database

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.9.3 Users are recommended to upgrade to 2.9.3

Until version 2.1.0, some of the code affected by this vulnerability appeared in org.apache.sshd:sshd-core. Version 2.1.0 contains a commit where the code was moved to the package org.apache.sshd:sshd-common, which did not exist until version 2.1.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-35887 changed 2024-10-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-mjmq-gwgm-5qhm changed 2026-09-10CC-BY-4.0
NVDCVE-2023-35887 changed 2026-06-17Public domain