cve.bz

CVE-2023-35887 apache sshd: Path traversal

4.3 mediumEPSS 1.3%Fix available

Medium (4.3) in apache sshd. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.sshd:sshd-common 2.9.3.

On this page
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

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-35887 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-35887?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-35887?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-35887 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache MINA SSHDfrom 1.0 before 2.10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mjmq-gwgm-5qhmMavenorg.apache.sshd:sshd-common>=2.1.0 <2.9.32.9.3
GHSA-mjmq-gwgm-5qhmMavenorg.apache.sshd:sshd-sftp>=1.0.0 <2.9.32.9.3
GHSA-mjmq-gwgm-5qhmMavenorg.apache.sshd:sshd-core>=1.0.0 <2.1.02.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.16.0-17.redhat_00051.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-apache-sshd0:2.9.3-1.redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-avro0:1.11.3-1.redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-guava, eap7-guava-libraries0:32.1.1-2.jre_redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.20-1.Final_redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more0:5.3.32-1.Final_redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-infinispan, eap7-infinispan-core, eap7-infinispan-commons and 7 more0:11.0.18-1.Final_redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jandex0:2.4.4-1.Final_redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-jsp-api_2.3_spec0:2.0.1-1.Final_redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-marshalling, eap7-jboss-marshalling-river0:2.0.14-1.SP1_redhat_00001.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-33.Final_redhat_00032.1.el7eapRHSA-2023:7637
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-xnio-base0:3.8.11-1.SP1_redhat_00001.1.el7eapRHSA-2023:7637
57 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
EAP 8.0.1sshd-commonFixed 2024-03-06RHSA-2024:1194
Red Hat build of Quarkus 2.13.9sshd-commonFixed 2023-12-07RHSA-2023:7700
Red Hat Data Grid 8.4.4apache-minaFixed 2023-09-28RHSA-2023:5396
Red Hat JBoss Enterprise Application Platformorg.apache.sshd/sshd-common:2.9.3.redhat-00001Fixed 2023-12-04RHSA-2023:7641
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-undertow-0:2.2.28-1.SP1_redhat_00001.1.el8eapFixed 2023-12-04RHSA-2023:7638
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-wildfly-0:7.4.14-5.GA_redhat_00002.1.el8eapFixed 2023-12-04RHSA-2023:7638
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-undertow-0:2.2.28-1.SP1_redhat_00001.1.el9eapFixed 2023-12-04RHSA-2023:7639
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-wildfly-0:7.4.14-5.GA_redhat_00002.1.el9eapFixed 2023-12-04RHSA-2023:7639
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-undertow-0:2.2.28-1.SP1_redhat_00001.1.el7eapFixed 2023-12-04RHSA-2023:7637
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-wildfly-0:7.4.14-5.GA_redhat_00002.1.el7eapFixed 2023-12-04RHSA-2023:7637
OpenShift Developer Tools and Servicessshd-commonOut of support scope
OpenShift Serverlesssshd-commonWill not fix
Red Hat Fuse 7sshd-commonOut of support scope
Red Hat Integration Camel Quarkus 2sshd-commonAffected
Red Hat OpenShift Container Platform 3.11sshd-commonOut of support scope
Red Hat OpenShift Container Platform 4sshd-commonOut of support scope
Red Hat Process Automation 7sshd-commonOut of support scope
Red Hat Single Sign-On 7sshd-commonWill not fix
Red Hat support for Spring Bootsshd-commonNot affected
Red Hat Virtualization 4sshd-commonOut of support scope
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-35887.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON