{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.sshd:sshd-core and org.apache.sshd:sshd-mina. It affects 9 products.","exploited":"There is no known exploitation of CVE-2021-30129 in the wild and no public exploit code.","fix":"Upgrade org.apache.sshd:sshd-core to 2.7.0 or later.","what":"CVE-2021-30129 is a medium-severity denial of service vulnerability in Oracle Flexcube Universal Banking, published on 12 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-30129 and fix it if it is affected.\n\nWhat it is: CVE-2021-30129 is a medium-severity denial of service vulnerability in Oracle Flexcube Universal Banking, published on 12 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-30129 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.sshd:sshd-core (Maven): affected from 2.0.0; fixed in 2.7.0\n- org.apache.sshd:sshd-core (Maven): affected from 2.0.0; fixed in 2.7.0\n- org.apache.sshd:sshd-mina (Maven): affected from 2.0.0; fixed in 2.7.0\n- org.apache.sshd:sshd-mina (Maven): affected from 2.0.0; fixed in 2.7.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-30129/ (Markdown: https://insights.sbomify.com/CVE-2021-30129/index.md)","id":"CVE-2021-30129","markdown":"https://insights.sbomify.com/CVE-2021-30129/index.md","name":"CVE-2021-30129","record":{"aliases":["GHSA-9279-7hph-r3xw","MINI-5cpm-q7xg-fg6g","OESA-2021-1312"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java SSH library","requires_auth":"low_privilege","summary":"An attacker can cause an OutOfMemory error in Apache Mina SSHD, leading to a denial of service, by exploiting SFTP or port forwarding features.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"sshd","vendor":"apache"},{"product":"banking_payments","vendor":"oracle"},{"product":"banking_trade_finance","vendor":"oracle"},{"product":"banking_treasury_management","vendor":"oracle"},{"product":"communications_cloud_native_core_console","vendor":"oracle"},{"product":"flexcube_universal_banking","vendor":"oracle"},{"product":"middleware_common_libraries_and_tools","vendor":"oracle"},{"product":"oss_support_tools","vendor":"oracle"},{"product":"retail_customer_management_and_segmentation_foundation","vendor":"oracle"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-772","name":"Missing Release of Resource after Effective Lifetime"}],"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","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"DoS/OOM leak vulnerability in Apache Mina SSHD Server","id":"CVE-2021-30129","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:flexcube_universal_banking","products":["oracle:flexcube_universal_banking","oracle:retail_customer_management_and_segmentation_foundation"],"type":"denial_of_service","year":"2021"},"n_packages":4,"n_references":6,"next":{"headline":"Improper Certificate Validation in phpseclib","id":"CVE-2021-30130"},"packages":[{"ecosystem":"Maven","fixed":["2.7.0"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.sshd:sshd-core","purl":null,"source":"GHSA-9279-7hph-r3xw"},{"ecosystem":"Maven","fixed":["2.7.0"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.sshd:sshd-core","purl":"pkg:maven/org.apache.sshd/sshd-core","source":"GHSA-9279-7hph-r3xw"},{"ecosystem":"Maven","fixed":["2.7.0"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.sshd:sshd-mina","purl":null,"source":"GHSA-9279-7hph-r3xw"},{"ecosystem":"Maven","fixed":["2.7.0"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.sshd:sshd-mina","purl":"pkg:maven/org.apache.sshd/sshd-mina","source":"GHSA-9279-7hph-r3xw"}],"prev":{"headline":"Unsafe deserialization in Apache OFBiz","id":"CVE-2021-30128"},"products":["Apache Mina SSHD"],"published":"2021-07-12","related":[{"cvss_score":9.8,"headline":"Apache MINA SSHD: Java unsafe deserialization vulnerability","id":"CVE-2022-45047","kev_date_added":null,"published":"2022-11-16"},{"cvss_score":5,"headline":"Apache MINA SSHD: Information disclosure bugs with RootedFilesystem","id":"CVE-2023-35887","kev_date_added":null,"published":"2023-07-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Apache Software Foundation"]},"summary":"An attacker can cause an OutOfMemory error in Apache Mina SSHD, leading to a denial of service, by exploiting SFTP or port forwarding features.","url":"https://insights.sbomify.com/CVE-2021-30129/"}