CVE-2023-38647
Deserialization vulnerability in Helix workflow and REST
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.
Affect all the versions lower and include 1.2.0.
Affected products: helix-core, helix-rest
Mitigation: Short term, stop using any YAML based configuration and workflow creation. Long term, all Helix version bumping up to 1.3.0
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.helix » helix-core | < 1.3.0 | 1.3.0 |
| org.apache.helix » helix-rest | < 1.3.0 | 1.3.0 |
Blast radius
30% of the dependent artifacts (111) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 21,579 |
| 2 hops | 42,740 |
| 3 hops | 4,411 |
| 4 hops | 445 |
| 5 hops | 207 |
| 6 hops | 14 |
Most used dependents
- org.uberfire » uberfire-testing-utils211 usages
- org.uberfire » uberfire-backend-server160 usages
- org.uberfire » uberfire-io150 usages
- org.jbpm » jbpm-kie-services71 usages
- org.kie.workbench.services » kie-wb-common-services-backend67 usages
- org.jbpm » jbpm-human-task-core67 usages
- org.jbpm » jbpm-runtime-manager67 usages
- org.jbpm » jbpm-test59 usages
- org.uberfire » uberfire-metadata-api52 usages
- org.apache.pinot » pinot-common50 usages
- org.uberfire » uberfire-metadata-commons-io49 usages
- org.uberfire » uberfire-commons-editor-backend43 usages
- org.jbpm » jbpm-shared-services42 usages
- org.kie.commons » kie-commons-io42 usages
- org.uberfire » uberfire-all39 usages
Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-38647 | nvd.nist.gov |
| Web | apache/helix commit 09d210f | github.com |
| Web | apache/helix commit eabfda2 | github.com |
| Web | thread/zyqxhv0lc2z9w3tgr8ttrdy2zfh5jvc4 | lists.apache.org |
