# CVE-2023-35887: Apache MINA SSHD information disclosure vulnerability

Source: https://junglewise.ai/threats/cve-2023-35887-apache-mina-sshd-information-disclosure-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-10  
License: CC BY 4.0 with a link back

CVE-2023-35887 · Severity: low · CVSS 3.1 · Published 2023-07-10

Apache MINA SSHD information disclosure vulnerability

Technologies: [org.apache.sshd:sshd-common (Maven)](https://junglewise.ai/threats/technologies/org-apache-sshd-sshd-common), [org.apache.sshd:sshd-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-sshd-sshd-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-35887 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-35887 being exploited in the wild.

**How severe is CVE-2023-35887?** Low severity, with a CVSS score of 3.1, published 10 July 2023.

**Which products and versions are affected?** org.apache.sshd:sshd-common (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.9.3; org.apache.sshd:sshd-core (Maven) ECOSYSTEM:introduced=1.0.0,fixed=2.1.0; org.apache.sshd:sshd-sftp (Maven) ECOSYSTEM:introduced=1.0.0,fixed=2.9.3.

**Is there a fix for CVE-2023-35887?** Yes. org.apache.sshd:sshd-common (Maven): upgrade to 2.9.3 or later; org.apache.sshd:sshd-core (Maven): upgrade to 2.1.0 or later; org.apache.sshd:sshd-sftp (Maven): upgrade to 2.9.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-35887?** Check whether you run org.apache.sshd:sshd-common (Maven), org.apache.sshd:sshd-core (Maven) or org.apache.sshd:sshd-sftp (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.sshd:sshd-common (Maven): upgrade to 2.9.3 or later

  ```sh
  # set org.apache.sshd:sshd-common to 2.9.3 in your pom.xml or build.gradle
  ```

- org.apache.sshd:sshd-core (Maven): upgrade to 2.1.0 or later

  ```sh
  # set org.apache.sshd:sshd-core to 2.1.0 in your pom.xml or build.gradle
  ```

- org.apache.sshd:sshd-sftp (Maven): upgrade to 2.9.3 or later

  ```sh
  # set org.apache.sshd:sshd-sftp to 2.9.3 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.sshd:sshd-common (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.9.3
- org.apache.sshd:sshd-core (Maven) ECOSYSTEM:introduced=1.0.0,fixed=2.1.0
- org.apache.sshd:sshd-sftp (Maven) ECOSYSTEM:introduced=1.0.0,fixed=2.9.3

## Identifiers

- CVE-2023-35887
- GHSA-mjmq-gwgm-5qhm

## Related threats

- [Apache MINA SSHD: integrity check bypass](https://junglewise.ai/threats/cve-2024-41909-apache-mina-sshd-integrity-check-bypass)
- [Unsafe deserialization in Apache MINA SSHD](https://junglewise.ai/threats/cve-2022-45047-unsafe-deserialization-in-apache-mina-sshd)
- [Buffer Overflow in Apache Mina SSHD](https://junglewise.ai/threats/cve-2021-30129-buffer-overflow-in-apache-mina-sshd)
