GitHub Advisoryadvisory · Maven

GHSA-jhcr-hph9-g7wm Deserialization vulnerability in Helix workflow and REST

CRITICAL Published 2023-07-26 Modified 2024-10-02 Official page ↗
Aliases
CVE-2023-38647
Ecosystem
Maven
Packages
org.apache.helix:helix-core, org.apache.helix:helix-rest
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-502
Reviewed
2023-07-26

Affected packages

• Maven org.apache.helix:helix-core: < 1.3.0 → fixed in 1.3.0 • Maven org.apache.helix:helix-rest: < 1.3.0 → fixed in 1.3.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

Related

Alias · CVE (1)

  • CVE-2023-38647 An attacker can use SnakeYAML to deserialize java.net.URLClassLoader and make it load a JAR from a specified URL, and then deserialize… vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References