{"answers":{"affected":"2 open source packages ship an affected version, including com.sap.scimono:scimono-server. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-21479 exists.","fix":"Upgrade com.sap.scimono:scimono-server to 0.0.19 or later.","what":"CVE-2021-21479 is a high-severity code injection vulnerability in SAP SE SCIMono, published on 9 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-21479 and fix it if it is affected.\n\nWhat it is: CVE-2021-21479 is a high-severity code injection vulnerability in SAP SE SCIMono, published on 9 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-21479 exists.\n\nAffected packages and fixed versions:\n- com.sap.scimono:scimono-server (Maven): affected all versions; fixed in 0.0.19\n- com.sap.scimono:scimono-server (Maven): affected all versions; fixed in 0.0.19\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-21479/ (Markdown: https://insights.sbomify.com/CVE-2021-21479/index.md)","id":"CVE-2021-21479","markdown":"https://insights.sbomify.com/CVE-2021-21479/index.md","name":"CVE-2021-21479","record":{"aliases":["GHSA-29q4-gxjq-rx5c"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java SCIM library","requires_auth":"none","summary":"Attackers can inject and execute Java expressions in SCIMono, compromising system integrity and availability.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"scimono","vendor":"sap"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"In SCIMono before 0.0.19, it is possible for an attacker to inject and execute java expression compromising the availability and integrity of the system.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-21479.yaml","stars":null,"title":"SCIMono \u003c0.0.19 - Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Remote Code Execution in SCIMono","id":"CVE-2021-21479","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":2,"n_references":1,"next":{"headline":"Code injection in SAP Manufacturing Integration and Intelligence","id":"CVE-2021-21480"},"packages":[{"ecosystem":"Maven","fixed":["0.0.19"],"introduced":["0"],"last_affected":[],"package":"com.sap.scimono:scimono-server","purl":null,"source":"GHSA-29q4-gxjq-rx5c"},{"ecosystem":"Maven","fixed":["0.0.19"],"introduced":["0"],"last_affected":[],"package":"com.sap.scimono:scimono-server","purl":"pkg:maven/com.sap.scimono/scimono-server","source":"GHSA-29q4-gxjq-rx5c"}],"prev":{"headline":"Open redirect in SAP NetWeaver AS ABAP (Web Dynpro ABAP)","id":"CVE-2021-21478"},"products":["SCIMono"],"published":"2021-02-09","related":[],"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["SAP SE"]},"summary":"Attackers can inject and execute Java expressions in SCIMono, compromising system integrity and availability.","url":"https://insights.sbomify.com/CVE-2021-21479/"}