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

Critical 9.8 Published Updated

An attacker can achieve remote code execution in Apache Helix by exploiting unsafe deserialization in workflow and REST components.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-38647?

CVE-2023-38647 is a critical unsafe deserialization vulnerability in Apache Helix, published on 26 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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

Weakness: CWE-502

Which versions are affected by CVE-2023-38647?

4 open source packages ship an affected version, including org.apache.helix:helix-core and org.apache.helix:helix-rest. It affects 1 product.

PackageAffectedFixed in
org.apache.helix:helix-core MavenAll versions1.3.0
org.apache.helix:helix-core MavenAll versions1.3.0
org.apache.helix:helix-rest MavenAll versions1.3.0
org.apache.helix:helix-rest MavenAll versions1.3.0

Products include Apache Helix.

How do I fix CVE-2023-38647?

Upgrade org.apache.helix:helix-core to 1.3.0 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2023-38647 being exploited?

There is no known exploitation of CVE-2023-38647 in the wild and no public exploit code.

Sources

Also known as GHSA-jhcr-hph9-g7wm.

Is CVE-2023-38647 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free