CVE-2021-30129
MEDIUM 6.5CVSS 3.1Buffer Overflow in Apache Mina SSHD
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
- Published
- 12 Jul 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-772
- Also known as
- GHSA-9279-7hph-r3xw
- Sources
- NVDJSONOSV GHSA-9279-7hph-r3xwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | sshdcpe:2.3:a:apache:sshd:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.7.0 | 2.7.0 |
| NVD | oracle | banking_paymentscpe:2.3:a:oracle:banking_payments:14.5:*:*:*:*:*:*:* |
= 14.5 | |
| NVD | oracle | banking_trade_financecpe:2.3:a:oracle:banking_trade_finance:14.5:*:*:*:*:*:*:* |
= 14.5 | |
| NVD | oracle | banking_treasury_managementcpe:2.3:a:oracle:banking_treasury_management:14.5:*:*:*:*:*:*:* |
= 14.5 | |
| NVD | oracle | communications_cloud_native_core_consolecpe:2.3:a:oracle:communications_cloud_native_core_console:1.9.0:*:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | oracle | flexcube_universal_bankingcpe:2.3:a:oracle:flexcube_universal_banking:*:*:*:*:*:*:*:* |
>= 14.0.0, <= 14.3.0 | |
| NVD | oracle | flexcube_universal_bankingcpe:2.3:a:oracle:flexcube_universal_banking:14.5:*:*:*:*:*:*:* |
= 14.5 | |
| NVD | oracle | middleware_common_libraries_and_toolscpe:2.3:a:oracle:middleware_common_libraries_and_tools:12.2.1.3.0:*:*:*:*:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | middleware_common_libraries_and_toolscpe:2.3:a:oracle:middleware_common_libraries_and_tools:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| NVD | oracle | middleware_common_libraries_and_toolscpe:2.3:a:oracle:middleware_common_libraries_and_tools:14.1.1.0.0:*:*:*:*:*:*:* |
= 14.1.1.0.0 | |
| NVD | oracle | oss_support_toolscpe:2.3:a:oracle:oss_support_tools:2.12.42:*:*:*:*:*:*:* |
= 2.12.42 | |
| NVD | oracle | retail_customer_management_and_segmentation_foundationcpe:2.3:a:oracle:retail_customer_management_and_segmentation_foundation:18.0:*:*:*:*:*:*:* |
= 18.0 | |
| NVD | oracle | retail_customer_management_and_segmentation_foundationcpe:2.3:a:oracle:retail_customer_management_and_segmentation_foundation:19.0:*:*:*:*:*:*:* |
= 19.0 | |
| OSV | Maven | org.apache.sshd:sshd-mina | >= 2.0.0, < 2.7.0 | 2.7.0 |
| OSV | Maven | org.apache.sshd:sshd-core | >= 2.0.0, < 2.7.0 | 2.7.0 |
References
- http://www.openwall.com/lists/oss-security/2021/07/12/1 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/r6d4f78e192a0c8eabd671a018da464024642980ecd24096bde6db36f%40%3Cusers.mina.apache.org%3E · Mailing List, Vendor Advisory, WEB
- https://lists.apache.org/thread.html/red01829efa2a8c893c4baff4f23c9312bd938543a9b8658e172b853b%40%3Cannounce.apache.org%3E
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-30129 · ADVISORY
- https://issues.apache.org/jira/browse/SSHD-1125 · WEB
- https://lists.apache.org/thread.html/r6d4f78e192a0c8eabd671a018da464024642980ecd24096bde6db36f@%3Cusers.mina.apache.org%3E · WEB
- https://lists.apache.org/thread.html/red01829efa2a8c893c4baff4f23c9312bd938543a9b8658e172b853b@%3Cannounce.apache.org%3E · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Jul 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Aug 2021)