{"answers":{"affected":"2 open source packages ship an affected version, including org.sonatype.nexus:nexus-extdirect. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2020-10199 in the wild since at least 3 Nov 2021.","fix":"Upgrade org.sonatype.nexus:nexus-extdirect to 3.21.2 or later. US federal agencies must fix it by 3 May 2022.","what":"CVE-2020-10199 is a high-severity code injection vulnerability in n/a, published on 1 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-10199 and fix it if it is affected.\n\nWhat it is: CVE-2020-10199 is a high-severity code injection vulnerability in n/a, published on 1 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-10199 in the wild since at least 3 Nov 2021.\n\nAffected packages and fixed versions:\n- org.sonatype.nexus:nexus-extdirect (Maven): affected all versions; fixed in 3.21.2\n- org.sonatype.nexus:nexus-extdirect (Maven): affected all versions; fixed in 3.21.2\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-2020-10199/ (Markdown: https://insights.sbomify.com/CVE-2020-10199/index.md)","id":"CVE-2020-10199","markdown":"https://insights.sbomify.com/CVE-2020-10199/index.md","name":"CVE-2020-10199","record":{"aliases":["GHSA-g2f6-v5qh-h2mq"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Nexus Repository","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code via Java Expression Language injection in Sonatype Nexus Repository.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"nexus","vendor":"sonatype"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"description":"Sonatype Nexus Repository before 3.21.2 allows JavaEL Injection (issue 1 of 2).","ecosystems":["Maven"],"exploits":{"exploitdb":2,"first_seen":"2020-03-31","github_poc":7,"max_poc_stars":43,"metasploit":1,"nuclei":1,"refs":[{"date":"2020-04-16T09:40:15Z","kind":"github_poc","ref":"https://github.com/zhzyker/CVE-2020-10199_POC-EXP","stars":43,"title":"CVE-2020-10199 Nexus \u003c= 3.21.1 远程代码执行脚本(有回显)"},{"date":"2020-04-08T07:36:30Z","kind":"github_poc","ref":"https://github.com/jas502n/CVE-2020-10199","stars":35,"title":"CVE-2020-10199、CVE-2020-10204、CVE-2020-11444"},{"date":"2020-05-15T06:12:51Z","kind":"github_poc","ref":"https://github.com/aleenzz/CVE-2020-10199","stars":31,"title":"CVE-2020-10199 回显版本"},{"date":"2020-04-08T11:08:35Z","kind":"github_poc","ref":"https://github.com/magicming200/CVE-2020-10199_CVE-2020-10204","stars":25,"title":"CVE-2020-10199、CVE-2020-10204漏洞一键检测工具，图形化界面。CVE-2020-10199 and CVE-2020-10204 Vul Tool with GUI."},{"date":"2020-04-07T13:23:12Z","kind":"github_poc","ref":"https://github.com/wsfengfan/CVE-2020-10199-10204","stars":19,"title":"CVE-2020-10199 CVE-2020-10204 Python POC"},{"date":"2020-03-31","kind":"metasploit","ref":"exploit/linux/http/nexus_repo_manager_el_injection","stars":null,"title":"Nexus Repository Manager Java EL Injection RCE"},{"date":"2020-04-17","kind":"exploitdb","ref":"48343","stars":null,"title":"Nexus Repository Manager - Java EL Injection RCE (Metasploit)"},{"date":"2021-01-06","kind":"exploitdb","ref":"49385","stars":null,"title":"Sonatype Nexus 3.21.1 - Remote Code Execution (Authenticated)"}],"tier":"exploited"},"has_fix":true,"headline":"Sonatype Nexus Repository Remote Code Execution","id":"CVE-2020-10199","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"Nexus Repository","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Sonatype","vulnerabilityName":"Sonatype Nexus Repository Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2020"},"n_packages":2,"n_references":4,"next":{"headline":"Persistent Cross-Site scripting in Nexus Repository Manager","id":"CVE-2020-10203"},"packages":[{"ecosystem":"Maven","fixed":["3.21.2"],"introduced":["0"],"last_affected":[],"package":"org.sonatype.nexus:nexus-extdirect","purl":null,"source":"GHSA-g2f6-v5qh-h2mq"},{"ecosystem":"Maven","fixed":["3.21.2"],"introduced":["0"],"last_affected":[],"package":"org.sonatype.nexus:nexus-extdirect","purl":"pkg:maven/org.sonatype.nexus/nexus-extdirect","source":"GHSA-g2f6-v5qh-h2mq"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2020-10196"},"products":["n/a"],"published":"2020-04-01","related":[{"cvss_score":8.8,"headline":"Missing authorization in n/a","id":"CVE-2020-11444","kev_date_added":null,"published":"2020-04-02"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2014-9389","kev_date_added":null,"published":"2015-01-05"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2014-2034","kev_date_added":null,"published":"2014-04-01"},{"cvss_score":7.5,"headline":"Deserialization in n/a","id":"CVE-2014-0792","kev_date_added":null,"published":"2014-01-17"},{"cvss_score":7.2,"headline":"Remote Code Execution - JavaEL Injection (low privileged accounts) in Nexus Repository Manager","id":"CVE-2020-10204","kev_date_added":null,"published":"2020-04-01"},{"cvss_score":4.9,"headline":"Information disclosure in n/a","id":"CVE-2020-24622","kev_date_added":null,"published":"2020-08-25"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code via Java Expression Language injection in Sonatype Nexus Repository.","url":"https://insights.sbomify.com/CVE-2020-10199/"}