cve.bz

CVE-2021-30129

6.5 mediumEPSS 3.0%Fix available

Medium (6.5). EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.sshd:sshd-mina 2.7.0.

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

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-772 Missing Release of Resource after Effective Lifetime
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-2021-30129 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-30129?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-30129?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-2021-30129 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 2.0.0 before Apache Mina SSHD*

Fixed in

ProductFixed in
Apache Software Foundation Apache Mina SSHD2.7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9279-7hph-r3xwMavenorg.apache.sshd:sshd-mina>=2.0.0 <2.7.02.7.0
GHSA-9279-7hph-r3xwMavenorg.apache.sshd:sshd-core>=2.0.0 <2.7.02.7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-apache-sshd0:2.7.0-1.redhat_00001.1.el7eapRHSA-2021:4676
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jsoup0:1.14.2-1.redhat_00002.1.el7eapRHSA-2021:4676
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-resteasy, eap7-resteasy-cdi, eap7-resteasy-jaxrs and 16 more0:3.15.2-1.Final_redhat_00001.1.el7eapRHSA-2021:4676
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-undertow0:2.2.12-2.Final_redhat_00001.1.el7eapRHSA-2021:4676
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.2-2.GA_redhat_00002.1.el7eapRHSA-2021:4676
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-apache-sshd0:2.7.0-1.redhat_00001.1.el8eapRHSA-2021:4677
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-jsoup0:1.14.2-1.redhat_00002.1.el8eapRHSA-2021:4677
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-resteasy, eap7-resteasy-cdi, eap7-resteasy-jaxrs and 16 more0:3.15.2-1.Final_redhat_00001.1.el8eapRHSA-2021:4677
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-undertow0:2.2.12-2.Final_redhat_00001.1.el8eapRHSA-2021:4677
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs0:7.4.2-2.GA_redhat_00002.1.el8eapRHSA-2021:4677

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.

Red Hat's statement

Red Hat OpenStack Platform's OpenDaylight will not be updated for this flaw because it was deprecated as of OpenStack Platform 14 and is only receiving security fixes for Critical flaws.

ProductPackageStateAdvisory
Red Hat Fuse 7.10sshd-coreFixed 2021-12-14RHSA-2021:5134
Red Hat JBoss Enterprise Application Platformorg.apache.sshd/sshd-core:2.7.0.redhat-00001Fixed 2021-11-15RHSA-2021:4679
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-apache-sshd-0:2.7.0-1.redhat_00001.1.el8eapFixed 2021-11-15RHSA-2021:4677
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-apache-sshd-0:2.7.0-1.redhat_00001.1.el7eapFixed 2021-11-15RHSA-2021:4676
RHINT Camel-Q 2.2.1Fixed 2022-03-22RHSA-2022:1013
RHPAM 7.13.4 asyncsshd-coreFixed 2023-09-05RHSA-2023:4983
Red Hat BPM Suite 6sshd-coreOut of support scope
Red Hat build of Quarkussshd-commonNot affected
Red Hat Integration Camel K 1sshd-sftpAffected
Red Hat Integration Camel Quarkus 1sshd-sftpAffected
Red Hat JBoss A-MQ 6sshd-coreOut of support scope
Red Hat JBoss BRMS 6sshd-coreOut of support scope
Red Hat JBoss Fuse 6sshd-coreOut of support scope
Red Hat OpenStack Platform 10 (Newton)opendaylightOut of support scope
Red Hat OpenStack Platform 13 (Queens)opendaylightOut of support scope

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-2021-30129.

Attack patterns (CAPEC)

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

References

Check your stackJSON