Deserialization of Untrusted Data vulnerability in org.apache.sshd:sshd-common
See original GitHub issue- Package Manager: maven
- Vulnerable module: org.apache.sshd:sshd-common
- Introduced through: org.keycloak:keycloak-quarkus-server-app@999-SNAPSHOT, org.keycloak:keycloak-quarkus-server@999-SNAPSHOT and others
Detailed paths
- Introduced through: org.keycloak:keycloak-quarkus-server-app@999-SNAPSHOT › org.keycloak:keycloak-quarkus-server@999-SNAPSHOT › org.wildfly.security:wildfly-elytron@1.18.3.Final › org.wildfly.security:wildfly-elytron-auth-util@1.18.3.Final › org.apache.sshd:sshd-common@2.7.0
Overview
Affected versions of this package are vulnerable to Deserialization of Untrusted Data via org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider
.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Deserialization of untrusted data (CWE-502) is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, thus allowing the attacker to control the state or the flow of the execution.
Remediation
A fix was pushed into the master
branch but not yet published.
References
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (5 by maintainers)
Top GitHub Comments
Hi, I saw that, but I mean for what features is this used exactly? (org.apache.sshd:sshd-common@2.7.0) because when I’m searching in github the lib, I find just some tests that it using it
@edwint88 it is part of the issue description, please check the “Detailed paths” section.