CRITICAL 9.8

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)

ArtifactAffected versionsFixed 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

2affected artifacts
52affected versions
365dependent artifacts (est.)
69,396dependent versions

30% of the dependent artifacts (111) still pull an affected version in their latest release.

DepthDependent versions
Direct
21,579
2 hops
42,740
3 hops
4,411
4 hops
445
5 hops
207
6 hops
14

Most used dependents

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

Advisorynvd.nist.gov
Webgithub.com
Webgithub.com
Weblists.apache.org