CVE-2020-13931 — apache-tomee
CRITICALCVE-2020-13931 is a critical-severity (CVSS 9.8) vulnerability in org.apache.tomee:apache-tomee. A fix is available for org.apache.tomee:apache-tomee — see the affected versions and patch details below.
Remote code execution in Apache TomEE
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-13931 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.apache.tomee:apache-tomee☕org.apache.tomee:apache-tomee☕org.apache.tomee:apache-tomeeReal-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
If Apache TomEE 8.0.0-M1 - 8.0.3, 7.1.0 - 7.1.3, 7.0.0-M1 - 7.0.8, 1.0.0 - 1.7.5 is configured to use the embedded ActiveMQ broker, and the broker config is misconfigured, a JMX port is opened on TCP port 1099, which does not include authentication. CVE-2020-11969 previously addressed the creation of the JMX management interface, however the incomplete fix did not cover this edge case.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.tomee:apache-tomee | ≥ 8.0.0&&< 8.0.4 | 8.0.4org.apache.tomee:apache-tomee:8.0.4 |
| ☕Maven | org.apache.tomee:apache-tomee | ≥ 7.1.0&&< 7.1.4 | 7.1.4org.apache.tomee:apache-tomee:7.1.4 |
| ☕Maven | org.apache.tomee:apache-tomee | all versions | 7.0.9org.apache.tomee:apache-tomee:7.0.9 |
Affected Products
tomeeapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.tomee:apache-tomee, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.tomee:apache-tomee to 8.0.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-13931 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2020-13931 in your dependencies?
Find it across Maven, including transitive dependencies.