CVE-2023-38647
Assigner: apache
Published: 2023-07-26T07:52:29.741Z
State: PUBLISHED
affected: defaultStatus: unaffected
product: Apache Helix
vendor: Apache Software Foundation
versions: lessThanOrEqual: 1.2.0
status: affected
version: 0
versionType: maven
credits: type: reporter
value: Qing Xu
descriptions: supportingMedia: base64: no
type: text/html
value: <p><span style="background-color: rgb(255, 255, 255);">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.</span><span style="background-color: rgb(255, 255, 255);">ScriptEngineManager to load code using that ClassLoader. <span style="background-color: rgb(255, 255, 255);">This unbounded deserialization can likely lead to remote code execution.&nbsp;</span>The code can be run in Helix REST start and Workflow creation.</span><br><span style="background-color: var(--wht);"><br></span></p><p><span style="background-color: var(--wht);">Affect all the versions lower and include 1.2.0.</span></p><p><span style="background-color: var(--wht);">Affected products: helix-core, helix-rest</span></p><p><span style="background-color: var(--wht);">Mitigation: Short term, stop using any YAML based configuration and workflow creation.</span><br><span style="background-color: var(--wht);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Long term, all Helix version bumping up to 1.3.0&nbsp;</span><br></p>
value: 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 


metrics: other: content: text: important
type: Textual description of severity
problemTypes: descriptions: cweId: CWE-502
description: CWE-502 Deserialization of Untrusted Data
type: CWE
source: discovery: EXTERNAL
title: Apache Helix: Deserialization vulnerability in Helix workflow and REST
x_generator: engine: Vulnogram 0.1.0-dev