Stack Overflow in Apache MesosGHSA-p2xq-vcm7-xjj6
HIGHGHSA-p2xq-vcm7-xjj6 is a high-severity (CVSS 7.5) Buffer Overflow vulnerability in org.apache.mesos:mesos. A fix is available for org.apache.mesos:mesos — 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.mesos:mesos☕org.apache.mesos:mesos☕org.apache.mesos:mesos☕org.apache.mesos:mesosReal-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
When parsing a JSON payload with deeply nested JSON structures, the parser in Apache Mesos versions pre-1.4.x, 1.4.0 to 1.4.2, 1.5.0 to 1.5.1, 1.6.0 to 1.6.1, and 1.7.0 might overflow the stack due to unbounded recursion. A malicious actor can therefore cause a denial of service of Mesos masters rendering the Mesos-controlled cluster inoperable.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.mesos:mesos | all versions | 1.4.3org.apache.mesos:mesos:1.4.3 |
| ☕Maven | org.apache.mesos:mesos | ≥ 1.5.0&&< 1.5.2 | 1.5.2org.apache.mesos:mesos:1.5.2 |
| ☕Maven | org.apache.mesos:mesos | ≥ 1.6.0&&< 1.6.2 | 1.6.2org.apache.mesos:mesos:1.6.2 |
| ☕Maven | org.apache.mesos:mesos | ≥ 1.7.0&&< 1.7.1 | 1.7.1org.apache.mesos:mesos:1.7.1 |
Affected Products
mesosapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.mesos:mesos, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.mesos:mesos to 1.4.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-p2xq-vcm7-xjj6 is resolved across your whole dependency graph.
Workarounds
Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.
Frequently Asked Questions
Is GHSA-p2xq-vcm7-xjj6 in your dependencies?
Find it across Maven, including transitive dependencies.