Skip to content
Fencer Vulns
medium 5.0

CVE-2023-35887 json

Apache MINA SSHD: Information disclosure bugs with RootedFilesystem

published 2023-07-10 3 y ago modified 2026-09-10 1 mo ago also GHSA-mjmq-gwgm-5qhm , EUVD-2023-2101

cvss
5.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

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

Patch / fix

  • maven org.apache.sshd:sshd-common 2.9.3
  • maven org.apache.sshd:sshd-sftp 2.9.3
  • maven org.apache.sshd:sshd-core 2.1.0
  • Apache Software Foundation Apache MINA SSHD 2.10
  • eap8-log4j jboss enterprise application platform 8.0 2.19.0-2.redhat_00001.1.el9eap
  • eap8-parsson jboss enterprise application platform 8.0 1.1.5-1.redhat_00001.1.el9eap
  • eap8-wildfly jboss enterprise application platform 8.0 8.0.1-3.GA_redhat_00002.1.el9eap
  • eap8-apache-sshd jboss enterprise application platform 8.0 2.12.0-1.redhat_00001.1.el9eap
  • eap8-lucene-core jboss enterprise application platform 8.0 8.11.2-2.redhat_00001.1.el9eap
  • eap8-lucene-join jboss enterprise application platform 8.0 8.11.2-2.redhat_00001.1.el9eap
  • eap8-lucene-solr jboss enterprise application platform 8.0 8.11.2-2.redhat_00001.1.el9eap
  • eap8-eclipse-jgit jboss enterprise application platform 8.0 6.6.1.202309021850-1.r_redhat_00001.1.el9eap

red hat advisories RHSA-2024:1193RHSA-2024:1192RHSA-2023:7637RHSA-2023:7638RHSA-2023:7639

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-35887 updated cvss 4.3

apache-mina-sshd: information exposure in SFTP server implementations

  • Red Hat OpenShift Developer Tools and Services sshd-common
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Serverless sshd-common
    affected: no fix planned “Will not fix”
  • Red Hat Fuse 7 sshd-common
    affected: no fix planned “Out of support scope”
  • Red Hat Integration Camel Quarkus 2 sshd-common
    affected: no fix available
  • Red Hat OpenShift Container Platform 3.11 sshd-common Red Hat OpenShift Container Platform 4 sshd-common Red Hat Process Automation 7 sshd-common
    affected: no fix planned “Out of support scope”
  • Red Hat Single Sign-On 7 sshd-common
    affected: no fix planned “Will not fix”
  • Red Hat Virtualization 4 sshd-common
    affected: no fix planned “Out of support scope”
  • Red Hat EAP 8.0.1
    fixed: vendor fix RHSA-2024:1194
show 9 more
  • Red Hat build of Quarkus 2.13.9
    fixed: vendor fix RHSA-2023:7700
  • Red Hat Data Grid 8.4.4
    fixed: vendor fix RHSA-2023:5396
  • Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-wildfly 7.4.14-5.GA_redhat_00002.1.el7eap, eap7-undertow 2.2.28-1.SP1_redhat_00001.1.el7eap, eap7-wildfly-modules 7.4.14-5.GA_redhat_00002.1.el7eap, eap7-wildfly-javadocs 7.4.14-5.GA_redhat_00002.1.el7eap, eap7-wildfly-java-jdk8 7.4.14-5.GA_redhat_00002.1.el7eap, eap7-wildfly-java-jdk11 7.4.14-5.GA_redhat_00002.1.el7eap
    fixed: vendor fix RHSA-2023:7637
  • Red Hat JBoss EAP 7.4 for RHEL 8 eap7-wildfly 7.4.14-5.GA_redhat_00002.1.el8eap, eap7-undertow 2.2.28-1.SP1_redhat_00001.1.el8eap, eap7-wildfly-modules 7.4.14-5.GA_redhat_00002.1.el8eap, eap7-wildfly-javadocs 7.4.14-5.GA_redhat_00002.1.el8eap, eap7-wildfly-java-jdk8 7.4.14-5.GA_redhat_00002.1.el8eap, eap7-wildfly-java-jdk11 7.4.14-5.GA_redhat_00002.1.el8eap, +1 more
    fixed: vendor fix RHSA-2023:7638
  • Red Hat JBoss EAP 7.4 for RHEL 9 eap7-wildfly 7.4.14-5.GA_redhat_00002.1.el9eap, eap7-undertow 2.2.28-1.SP1_redhat_00001.1.el9eap, eap7-wildfly-modules 7.4.14-5.GA_redhat_00002.1.el9eap, eap7-wildfly-javadocs 7.4.14-5.GA_redhat_00002.1.el9eap, eap7-wildfly-java-jdk8 7.4.14-5.GA_redhat_00002.1.el9eap, eap7-wildfly-java-jdk11 7.4.14-5.GA_redhat_00002.1.el9eap, +1 more
    fixed: vendor fix RHSA-2023:7639
  • Red Hat JBoss EAP 8.0 for RHEL 8 eap8-log4j 2.19.0-2.redhat_00001.1.el8eap, eap8-parsson 1.1.5-1.redhat_00001.1.el8eap, eap8-wildfly 8.0.1-3.GA_redhat_00002.1.el8eap, eap8-apache-sshd 2.12.0-1.redhat_00001.1.el8eap, eap8-lucene-core 8.11.2-2.redhat_00001.1.el8eap, eap8-lucene-join 8.11.2-2.redhat_00001.1.el8eap, +9 more
    fixed: vendor fix RHSA-2024:1192
  • Red Hat JBoss EAP 8.0 for RHEL 9 eap8-log4j 2.19.0-2.redhat_00001.1.el9eap, eap8-parsson 1.1.5-1.redhat_00001.1.el9eap, eap8-wildfly 8.0.1-3.GA_redhat_00002.1.el9eap, eap8-apache-sshd 2.12.0-1.redhat_00001.1.el9eap, eap8-lucene-core 8.11.2-2.redhat_00001.1.el9eap, eap8-lucene-join 8.11.2-2.redhat_00001.1.el9eap, +9 more
    fixed: vendor fix RHSA-2024:1193
  • Red Hat JBoss Enterprise Application Platform sshd-common 2.9.3.redhat-00001
    fixed: vendor fix RHSA-2023:7641
  • Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-avro 1.11.3-1.redhat_00001.1.el7eap, eap7-yasson 1.0.11-4.redhat_00002.1.el7eap, eap7-guava 32.1.1-2.jre_redhat_00001.1.el7eap, eap7-apache-sshd 2.9.3-1.redhat_00001.1.el7eap, eap7-jandex 2.4.4-1.Final_redhat_00001.1.el7eap, eap7-jgroups 4.2.23-1.Final_redhat_00001.1.el7eap, +49 more Red Hat JBoss EAP 7.4 for RHEL 8 eap7-avro 1.11.3-1.redhat_00001.1.el8eap, eap7-yasson 1.0.11-4.redhat_00002.1.el8eap, eap7-guava 32.1.1-2.jre_redhat_00001.1.el8eap, eap7-apache-sshd 2.9.3-1.redhat_00001.1.el8eap, eap7-jandex 2.4.4-1.Final_redhat_00001.1.el8eap, eap7-jgroups 4.2.23-1.Final_redhat_00001.1.el8eap, +49 more Red Hat JBoss EAP 7.4 for RHEL 9 eap7-avro 1.11.3-1.redhat_00001.1.el9eap, eap7-yasson 1.0.11-4.redhat_00002.1.el9eap, eap7-guava 32.1.1-2.jre_redhat_00001.1.el9eap, eap7-apache-sshd 2.9.3-1.redhat_00001.1.el9eap, eap7-jandex 2.4.4-1.Final_redhat_00001.1.el9eap, eap7-jgroups 4.2.23-1.Final_redhat_00001.1.el9eap, +47 more Red Hat JBoss Enterprise Application Platform pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, fs 2.1.2, ip 2.0.0, +1555 more Red Hat support for Spring Boot sshd-common
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
NVD 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub 3.1 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.sshd:sshd-common
>=2.1.0, <2.9.3
2.9.3
maven org.apache.sshd:sshd-sftp
>=1.0.0, <2.9.3
2.9.3
maven org.apache.sshd:sshd-core
>=1.0.0, <2.1.0
2.1.0

Affected products

  • Apache Software Foundation Apache MINA SSHD

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.