HIGH 7.5

CVE-2021-30129

Buffer Overflow in Apache Mina SSHD

Description

A vulnerability in sshd-core of Apache Mina SSHD allows an attacker to overflow the server causing an OutOfMemory error. This issue affects the SFTP and port forwarding features of Apache Mina SSHD version 2.0.0 and later versions. It was addressed in Apache Mina SSHD 2.7.0

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.sshd » sshd-core
>= 2.0.0, < 2.7.0
2.7.0
org.apache.sshd » sshd-mina
>= 2.0.0, < 2.7.0
2.7.0

Blast radius

2affected artifacts
21affected versions
1,240dependent artifacts (est.)
18,681dependent versions

20% of the dependent artifacts (254) still pull an affected version in their latest release.

DepthDependent versions
Direct
3,360
2 hops
5,569
3 hops
4,452
4 hops
3,269
5 hops
1,351
6 hops
680

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.