Deserialization of Untrusted Data in Apache HeronGHSA-hjgm-f7vx-m5g7
CRITICALGHSA-hjgm-f7vx-m5g7 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability in org.apache.heron:heron-simulator. A fix is available for org.apache.heron:heron-simulator — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.heron:heron-simulatorReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
It was noticed that Apache Heron 0.20.2-incubating, Release 0.20.1-incubating, and Release v-0.20.0-incubating does not configure its YAML parser to prevent the instantiation of arbitrary types, resulting in a remote code execution vulnerabilities (CWE-502: Deserialization of Untrusted Data).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.heron:heron-simulator | ≥ 0.20.0-incubating&&< 0.20.3-incubating | 0.20.3-incubatingorg.apache.heron:heron-simulator:0.20.3-incubating |
Affected Products
heronapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.heron:heron-simulator, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.heron:heron-simulator to 0.20.3-incubating or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hjgm-f7vx-m5g7 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is GHSA-hjgm-f7vx-m5g7 in your dependencies?
Find it across Maven, including transitive dependencies.