{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.syncope:syncope-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-1959 in the wild and no public exploit code.","fix":"Upgrade org.apache.syncope:syncope-core to 2.1.6 or later.","what":"CVE-2020-1959 is a critical code injection vulnerability in Apache Syncope, published on 4 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-1959 and fix it if it is affected.\n\nWhat it is: CVE-2020-1959 is a critical code injection vulnerability in Apache Syncope, published on 4 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-1959 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.syncope:syncope-core (Maven): affected all versions; fixed in 2.1.6\n- org.apache.syncope:syncope-core (Maven): affected all versions; fixed in 2.1.6\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-1959/ (Markdown: https://insights.sbomify.com/CVE-2020-1959/index.md)","id":"CVE-2020-1959","markdown":"https://insights.sbomify.com/CVE-2020-1959/index.md","name":"CVE-2020-1959","record":{"aliases":["GHSA-vjqw-r3ww-wj2w"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Syncope","requires_auth":"none","summary":"Unauthenticated attackers can achieve remote code execution in Apache Syncope by injecting Java EL expressions into custom constraint violation error messages.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"syncope","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":"A Server-Side Template Injection was identified in Apache Syncope prior to 2.1.6 enabling attackers to inject arbitrary Java EL expressions, leading to an unauthenticated Remote Code Execution (RCE) vulnerability. Apache Syncope uses Java Bean Validation (JSR 380) custom constraint validators. When building custom constraint violation error messages, they support different types of interpolation, including Java EL expressions. Therefore, if an attacker can inject arbitrary data in the error message template being passed, they will be able to run arbitrary Java code.","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":"Expression Language Injection in Apache Syncope","id":"CVE-2020-1959","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":"Command injection in Apache Flink","id":"CVE-2020-1960"},"packages":[{"ecosystem":"Maven","fixed":["2.1.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.syncope:syncope-core","purl":null,"source":"GHSA-vjqw-r3ww-wj2w"},{"ecosystem":"Maven","fixed":["2.1.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.syncope:syncope-core","purl":"pkg:maven/org.apache.syncope/syncope-core","source":"GHSA-vjqw-r3ww-wj2w"}],"prev":{"headline":"Credentials bypass in Apache Druid","id":"CVE-2020-1958"},"products":["Apache Syncope"],"published":"2020-05-04","related":[{"cvss_score":9.8,"headline":"Apache Syncope: Remote Code Execution via Flowable BPMN Groovy ScriptTask","id":"CVE-2026-53405","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":9.8,"headline":"Apache Syncope: Remote Code Execution via Scripted Connector","id":"CVE-2026-53421","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":9.8,"headline":"Apache Syncope: SQL injection vulnerability in Audit Events search","id":"CVE-2026-57308","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":9.8,"headline":"Apache Syncope: User self-service privilege escalation","id":"CVE-2026-62183","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":9.8,"headline":"Apache Syncope: RCE via Groovy Sandbox bypass","id":"CVE-2026-63071","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":9.8,"headline":"Injection in Apache Syncope","id":"CVE-2020-1961","kev_date_added":null,"published":"2020-05-04"}],"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-04","vendors":["n/a"]},"summary":"Unauthenticated attackers can achieve remote code execution in Apache Syncope by injecting Java EL expressions into custom constraint violation error messages.","url":"https://insights.sbomify.com/CVE-2020-1959/"}