ghsa-fhw8-8j55-vwgq
Vulnerability from github
Published
2022-11-16 12:00
Modified
2023-08-18 20:44
Severity ?
Summary
Unsafe deserialization in Apache MINA SSHD
Details
Class org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider in Apache MINA SSHD <= 2.9.1 uses Java deserialization to load a serialized java.security.PrivateKey. The class is one of several implementations that an implementor using Apache MINA SSHD can choose for loading the host keys of an SSH server.
Until version 2.1.0, 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": [ { "package": { "ecosystem": "Maven", "name": "org.apache.sshd:sshd-common" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.9.2" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c 2.1.0" }, "package": { "ecosystem": "Maven", "name": "org.apache.sshd:sshd-core" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.9.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-45047" ], "database_specific": { "cwe_ids": [ "CWE-502" ], "github_reviewed": true, "github_reviewed_at": "2022-11-21T23:46:32Z", "nvd_published_at": "2022-11-16T09:15:00Z", "severity": "CRITICAL" }, "details": "Class org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider in Apache MINA SSHD \u003c= 2.9.1 uses Java deserialization to load a serialized java.security.PrivateKey. The class is one of several implementations that an implementor using Apache MINA SSHD can choose for loading the host keys of an SSH server.\n\nUntil version 2.1.0, the code affected by this vulnerability appeared in `org.apache.sshd:sshd-core`. Version 2.1.0 contains a [commit](https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0) where the code was moved to the package `org.apache.sshd:sshd-common`, which did not exist until version 2.1.0.", "id": "GHSA-fhw8-8j55-vwgq", "modified": "2023-08-18T20:44:39Z", "published": "2022-11-16T12:00:18Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45047" }, { "type": "WEB", "url": "https://github.com/apache/mina-sshd/commit/03238d51586f6b3c0bdbb1a23cf16799344d6c32" }, { "type": "WEB", "url": "https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0" }, { "type": "WEB", "url": "https://github.com/apache/mina-sshd/commit/5a8fe830b2a2308a2b24ac8115a391af477f64f5" }, { "type": "PACKAGE", "url": "https://github.com/apache/mina-sshd" }, { "type": "WEB", "url": "https://www.mail-archive.com/dev@mina.apache.org/msg39312.html" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Unsafe deserialization in Apache MINA SSHD" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.