oss-sec mailing list archives

CVE-2023-38647: Apache Helix: Deserialization vulnerability in Helix workflow and REST


From: Junkai Xue <jxue () apache org>
Date: Tue, 25 Jul 2023 16:54:17 +0000

Severity: important

Affected versions:

- Apache Helix through 1.2.0

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

Credit:

Qing Xu (reporter)

References:

https://helix.apache.org/
https://www.cve.org/CVERecord?id=CVE-2023-38647


Current thread: