Skip to content

Apache MINA SSHD information disclosure vulnerability

Moderate severity GitHub Reviewed Published Jul 10, 2023 to the GitHub Advisory Database • Updated Dec 7, 2023

Package

maven org.apache.sshd:sshd-common (Maven)

Affected versions

>= 2.1.0, < 2.9.3

Patched versions

2.9.3
maven org.apache.sshd:sshd-core (Maven)
>= 1.0.0, < 2.1.0
2.1.0
maven org.apache.sshd:sshd-sftp (Maven)
>= 1.0.0, < 2.9.3
2.9.3

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.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

Published by the National Vulnerability Database Jul 10, 2023
Published to the GitHub Advisory Database Jul 10, 2023
Reviewed Jul 10, 2023
Last updated Dec 7, 2023

Severity

Moderate
5.0
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

CVE ID

CVE-2023-35887

GHSA ID

GHSA-mjmq-gwgm-5qhm

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.