{"answers":{"affected":"2 open source packages ship an affected version, including org.sonatype.nexus:nexus-core. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-10204 exists.","fix":"Upgrade org.sonatype.nexus:nexus-core to 3.21.2 or later.","what":"CVE-2020-10204 is a high-severity code injection vulnerability in n/a, published on 1 Apr 2020. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-10204 and fix it if it is affected.\n\nWhat it is: CVE-2020-10204 is a high-severity code injection vulnerability in n/a, published on 1 Apr 2020. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-10204 exists.\n\nAffected packages and fixed versions:\n- org.sonatype.nexus:nexus-core (Maven): affected all versions; fixed in 3.21.2\n- org.sonatype.nexus:nexus-core (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-10204/ (Markdown: https://insights.sbomify.com/CVE-2020-10204/index.md)","id":"CVE-2020-10204","markdown":"https://insights.sbomify.com/CVE-2020-10204/index.md","name":"CVE-2020-10204","record":{"aliases":["GHSA-8h56-v53h-5hhj"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Nexus Repository","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary code on Sonatype Nexus Repository servers, compromising the artifact management system.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"nexus","vendor":"sonatype"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Sonatype Nexus Repository before 3.21.2 allows Remote Code Execution.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2020-05-27","github_poc":1,"max_poc_stars":13,"metasploit":0,"nuclei":1,"refs":[{"date":"2020-05-27T06:55:54Z","kind":"github_poc","ref":"https://github.com/zhzyker/CVE-2020-10204","stars":13,"title":"CVE-2020-10204 远程命令执行脚本"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-10204.yaml","stars":null,"title":"Sonatype Nexus Repository Manager 3 - Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Remote Code Execution - JavaEL Injection (low privileged accounts) in Nexus Repository Manager","id":"CVE-2020-10204","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2020"},"n_packages":2,"n_references":1,"next":{"headline":"Hardcoded credentials in n/a","id":"CVE-2020-10206"},"packages":[{"ecosystem":"Maven","fixed":["3.21.2"],"introduced":["0"],"last_affected":[],"package":"org.sonatype.nexus:nexus-core","purl":null,"source":"GHSA-8h56-v53h-5hhj"},{"ecosystem":"Maven","fixed":["3.21.2"],"introduced":["0"],"last_affected":[],"package":"org.sonatype.nexus:nexus-core","purl":"pkg:maven/org.sonatype.nexus/nexus-core","source":"GHSA-8h56-v53h-5hhj"}],"prev":{"headline":"Persistent Cross-Site scripting in Nexus Repository Manager","id":"CVE-2020-10203"},"products":["n/a"],"published":"2020-04-01","related":[{"cvss_score":8.8,"headline":"Sonatype Nexus Repository Remote Code Execution","id":"CVE-2020-10199","kev_date_added":"2021-11-03","published":"2020-04-01"},{"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":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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code on Sonatype Nexus Repository servers, compromising the artifact management system.","url":"https://insights.sbomify.com/CVE-2020-10204/"}