PT-2023-26537 · Unknown+2 · Helix-Rest+3

Qing Xu

·

Published

2023-07-26

·

Updated

2024-10-02

·

CVE-2023-38647

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions helix-core versions prior to 1.3.0 helix-rest versions prior to 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.
Recommendations For helix-core versions prior to 1.3.0: As a short-term mitigation, stop using any YAML-based configuration and workflow creation. As a long-term solution, update to version 1.3.0. For helix-rest versions prior to 1.3.0: As a short-term mitigation, stop using any YAML-based configuration and workflow creation. As a long-term solution, update to version 1.3.0.

Fix

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

CVE-2023-38647
GHSA-JHCR-HPH9-G7WM

Affected Products

Java
Snakeyaml
Helix Core
Helix-Rest