MODERATE 5.0

CVE-2023-35887

Apache MINA SSHD information disclosure vulnerability

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.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.apache.sshd » sshd-common
>= 2.1.0, < 2.9.3
2.9.3
org.apache.sshd » sshd-core
>= 1.0.0, < 2.1.0
2.1.0
org.apache.sshd » sshd-sftp
>= 1.0.0, < 2.9.3
2.9.3

Blast radius

3affected artifacts
47affected versions
3,769dependent artifacts (est.)
293,231dependent versions

47% of the dependent artifacts (1,786) still pull an affected version in their latest release.

DepthDependent versions
Direct
16,898
2 hops
94,496
3 hops
101,899
4 hops
52,130
5 hops
19,893
6 hops
7,915

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.