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)
| Artifact | Affected versions | Fixed 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
47% of the dependent artifacts (1,786) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.maven.plugins » maven-release-plugin29,117 usages
- org.codehaus.mojo » buildnumber-maven-plugin2,777 usages
- org.apache.maven.plugins » maven-scm-plugin1,577 usages
- org.apache.karaf.tooling » karaf-maven-plugin798 usages
- org.apache.maven.plugins » maven-scm-publish-plugin719 usages
- org.pitest » pitest-maven685 usages
- org.apache.karaf.shell » org.apache.karaf.shell.console623 usages
- org.apache.sshd » sshd-core604 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.wildfly.core » wildfly-server477 usages
- org.jenkins-ci.plugins.workflow » workflow-cps439 usages
- org.wildfly.plugins » wildfly-maven-plugin430 usages
- org.wildfly.core » wildfly-controller406 usages
- org.mule.tests » mule-tests-functional390 usages
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.
References
| Advisory | NVD CVE-2023-35887 | nvd.nist.gov |
| Package | apache/mina-sshd | github.com |
| Web | apache/mina-sshd pull request #362 | github.com |
| Web | apache/mina-sshd commit 10de190 | github.com |
| Web | apache/mina-sshd commit a61e930 | github.com |
| Web | apache/mina-sshd commit c20739b | github.com |
| Web | jira/browse/SSHD-1324 | issues.apache.org |
| Web | thread/b9qgtqvhnvgfpn0w1gz918p21p53tqk2 | lists.apache.org |
