{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework:spring. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-1622 exists.","fix":"Upgrade org.springframework:spring to a fixed version for your release line: 2.5.7 or 3.0.3.","what":"CVE-2010-1622 is a medium-severity code injection vulnerability in Oracle Fusion Middleware, published on 21 Jun 2010. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2010-1622 and fix it if it is affected.\n\nWhat it is: CVE-2010-1622 is a medium-severity code injection vulnerability in Oracle Fusion Middleware, published on 21 Jun 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-1622 exists.\n\nAffected packages and fixed versions:\n- org.springframework:spring (Maven): affected from 2.5.0; fixed in 2.5.7\n- org.springframework:spring (Maven): affected from 2.5.0; fixed in 2.5.7\n- org.springframework:spring (Maven): affected from 3.0.0; fixed in 3.0.3\n- org.springframework:spring (Maven): affected from 3.0.0; fixed in 3.0.3\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-2010-1622/ (Markdown: https://insights.sbomify.com/CVE-2010-1622/index.md)","id":"CVE-2010-1622","markdown":"https://insights.sbomify.com/CVE-2010-1622/index.md","name":"CVE-2010-1622","record":{"aliases":["GHSA-vpr3-f594-mg5g","RHSA-2011:0175"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by sending a crafted HTTP request to applications using the Spring Framework.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"fusion_middleware","vendor":"oracle"},{"product":"spring_framework","vendor":"springsource"}],"cvss":{"score":6,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"SpringSource Spring Framework 2.5.x before 2.5.6.SEC02, 2.5.7 before 2.5.7.SR01, and 3.0.x before 3.0.3 allows remote attackers to execute arbitrary code via an HTTP request containing class.classLoader.URLs[0]=jar: followed by a URL of a crafted .jar file.","ecosystems":["Maven","Red Hat:jboss_web_framework_kit:1::el4"],"exploits":{"exploitdb":1,"first_seen":"2010-06-18","github_poc":4,"max_poc_stars":19,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-03-31T08:06:46Z","kind":"github_poc","ref":"https://github.com/DDuarte/springshell-rce-poc","stars":19,"title":"CVE-2022-22965 - CVE-2010-1622 redux"},{"date":"2023-01-11T03:37:56Z","kind":"github_poc","ref":"https://github.com/E-bounce/cve-2010-1622_learning_environment","stars":2,"title":"cve-2010-1622 Learning Environment"},{"date":"2010-06-18","kind":"exploitdb","ref":"13918","stars":null,"title":"Spring Framework - Arbitrary code Execution"},{"date":"2022-03-31T14:25:54Z","kind":"github_poc","ref":"https://github.com/strainerart/Spring4Shell","stars":0,"title":"Threat Intelligence on Zero-Day for Spring4Shell (CVE-2010-1622)"},{"date":"2022-12-05T02:28:09Z","kind":"github_poc","ref":"https://github.com/HandsomeCat00/Spring-CVE-2010-1622","stars":0,"title":"Spring-CVE-2010-1622"}],"tier":"weaponised"},"has_fix":true,"headline":"Improper Control of Generation of Code ('Code Injection') in Spring Framework","id":"CVE-2010-1622","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:fusion_middleware","products":["oracle:fusion_middleware"],"type":"code_injection","year":"2010"},"n_packages":5,"n_references":14,"next":{"headline":"Denial of service in n/a","id":"CVE-2010-1623"},"packages":[{"ecosystem":"Maven","fixed":["2.5.7"],"introduced":["2.5.0"],"last_affected":[],"package":"org.springframework:spring","purl":null,"source":"GHSA-vpr3-f594-mg5g"},{"ecosystem":"Maven","fixed":["2.5.7"],"introduced":["2.5.0"],"last_affected":[],"package":"org.springframework:spring","purl":"pkg:maven/org.springframework/spring","source":"GHSA-vpr3-f594-mg5g"},{"ecosystem":"Maven","fixed":["3.0.3"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework:spring","purl":null,"source":"GHSA-vpr3-f594-mg5g"},{"ecosystem":"Maven","fixed":["3.0.3"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework:spring","purl":"pkg:maven/org.springframework/spring","source":"GHSA-vpr3-f594-mg5g"},{"ecosystem":"Red Hat:jboss_web_framework_kit:1::el4","fixed":["0:1.0.0-3.ep5.el4"],"introduced":["0"],"last_affected":[],"package":"jboss-wfk-1.0.0-uninstall","purl":"pkg:rpm/redhat/jboss-wfk-1.0.0-uninstall","source":"RHSA-2011:0175"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2010-1621"},"products":["n/a"],"published":"2010-06-21","related":[{"cvss_score":9.8,"headline":"Oracle Fusion Middleware Unspecified","id":"CVE-2012-1710","kev_date_added":"2022-05-25","published":"2012-05-03"},{"cvss_score":9.1,"headline":"Oracle Fusion Middleware Unspecified","id":"CVE-2012-3152","kev_date_added":"2021-11-03","published":"2012-10-16"},{"cvss_score":4.7,"headline":"Oracle Fusion Middleware Unspecified","id":"CVE-2012-0518","kev_date_added":"2022-03-28","published":"2012-10-16"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2013-2380","kev_date_added":null,"published":"2013-04-17"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2012-3135","kev_date_added":null,"published":"2012-07-17"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2010-3510","kev_date_added":null,"published":"2011-01-19"},{"cvss_score":9.4,"headline":"Path traversal in n/a","id":"CVE-2010-3599","kev_date_added":null,"published":"2011-01-19"}],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by sending a crafted HTTP request to applications using the Spring Framework.","url":"https://insights.sbomify.com/CVE-2010-1622/"}