ADVISORIES

GitHub Advisory Database

GHSA-mjmq-gwgm-5qhm

Apache MINA SSHD information disclosure vulnerability

Moderate CVE-2023-35887

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.apache.sshd:sshd-common
From 2.1.0 before 2.9.3 (fixed in 2.9.3)
Mavenorg.apache.sshd:sshd-sftp
From 1.0.0 before 2.9.3 (fixed in 2.9.3)
Mavenorg.apache.sshd:sshd-core
From 1.0.0 before 2.1.0 (fixed in 2.1.0)

References