{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.helix:helix-core and org.apache.helix:helix-rest. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-38647 in the wild and no public exploit code.","fix":"Upgrade org.apache.helix:helix-core to 1.3.0 or later.","what":"CVE-2023-38647 is a critical unsafe deserialization vulnerability in Apache Helix, published on 26 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-38647 and fix it if it is affected.\n\nWhat it is: CVE-2023-38647 is a critical unsafe deserialization vulnerability in Apache Helix, published on 26 Jul 2023. 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-2023-38647 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.helix:helix-core (Maven): affected all versions; fixed in 1.3.0\n- org.apache.helix:helix-core (Maven): affected all versions; fixed in 1.3.0\n- org.apache.helix:helix-rest (Maven): affected all versions; fixed in 1.3.0\n- org.apache.helix:helix-rest (Maven): affected all versions; fixed in 1.3.0\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-2023-38647/ (Markdown: https://insights.sbomify.com/CVE-2023-38647/index.md)","id":"CVE-2023-38647","markdown":"https://insights.sbomify.com/CVE-2023-38647/index.md","name":"CVE-2023-38647","record":{"aliases":["GHSA-jhcr-hph9-g7wm"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Helix","requires_auth":"none","summary":"An attacker can achieve remote code execution in Apache Helix by exploiting unsafe deserialization in workflow and REST components.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"helix","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","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-502","name":"Deserialization of Untrusted Data"}],"description":"An attacker can use SnakeYAML to deserialize java.net.URLClassLoader and make it load a JAR from a specified URL, and then deserialize javax.script.ScriptEngineManager to load code using that ClassLoader. This unbounded deserialization can likely lead to remote code execution. The code can be run in Helix REST start and Workflow creation.\n\nAffect all the versions lower and include 1.2.0.\n\nAffected products: helix-core, helix-rest\n\nMitigation: Short term, stop using any YAML based configuration and workflow creation.\n                  Long term, all Helix version bumping up to 1.3.0","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":"Apache Helix: Deserialization vulnerability in Helix workflow and REST","id":"CVE-2023-38647","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2023"},"n_packages":4,"n_references":1,"next":{"headline":"Memory corruption in GTKWave","id":"CVE-2023-38648"},"packages":[{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.helix:helix-core","purl":null,"source":"GHSA-jhcr-hph9-g7wm"},{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.helix:helix-core","purl":"pkg:maven/org.apache.helix/helix-core","source":"GHSA-jhcr-hph9-g7wm"},{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.helix:helix-rest","purl":null,"source":"GHSA-jhcr-hph9-g7wm"},{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.helix:helix-rest","purl":"pkg:maven/org.apache.helix/helix-rest","source":"GHSA-jhcr-hph9-g7wm"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2023-38646"},"products":["Apache Helix"],"published":"2023-07-26","related":[{"cvss_score":7.5,"headline":"Apache Helix REST: Permissive CORS Configuration in REST API Allows Unrestricted Cross-Origin","id":"CVE-2026-57111","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.5,"headline":"Apache Helix Front (UI): Helix front hard-coded secret in the express-session","id":"CVE-2024-22281","kev_date_added":null,"published":"2024-08-20"},{"cvss_score":6.1,"headline":"Apache Helix: Open redirect","id":"CVE-2022-47500","kev_date_added":null,"published":"2022-12-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":"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-02","vendors":["Apache Software Foundation"]},"summary":"An attacker can achieve remote code execution in Apache Helix by exploiting unsafe deserialization in workflow and REST components.","url":"https://insights.sbomify.com/CVE-2023-38647/"}