CVE-2020-11998: A regression has been introduced in the commit preventing JMX re-bind.
Critical CVSS 9.8
- CVE id
- CVE-2020-11998
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache ActiveMQ Runtimes and servers |
5.15.12 | not fixed yet |
How to fix it
No fix yet. No fixed Apache ActiveMQ release is listed yet.
- Check the advisory and its references below for a workaround or a configuration change that turns off the affected feature.
- Limit exposure: don't pass untrusted input to the affected code path, and keep it off public endpoints if you can.
- Upgrade ActiveMQ Classic (the apache/activemq-classic image tag or the broker's distribution) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
A regression has been introduced in the commit preventing JMX re-bind. By passing an empty environment map to RMIConnectorServer, instead of the map that contains the authentication credentials, it leaves ActiveMQ open to the following attack: https://docs.oracle.com/javase/8/docs/technotes/guides/management/agent.html "A remote client could create a javax.management.loading.MLet MBean and use it to create new MBeans from arbitrary URLs, at least if there is no security manager. In other words, a rogue remote client could make your Java application execute arbitrary code." Mitigation: Upgrade to Apache ActiveMQ 5.15.13
References
- CVE-2020-11998 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-11998
- Web: https://lists.apache.org/thread.html/r946488fb942fd35c6a6e0359f52504a558ed438574a8f14d36d7dcd7%40%3Ccommits.activemq.apache.org%3E
- Web: https://lists.apache.org/thread.html/rb2fd3bf2dce042e0ab3f3c94c4767c96bb2e7e6737624d63162df36d%40%3Ccommits.activemq.apache.org%3E
- Web: https://www.oracle.com//security-alerts/cpujul2021.html
- Web: https://www.oracle.com/security-alerts/cpuApr2021.html
- Web: https://www.oracle.com/security-alerts/cpujan2021.html
- Web: https://www.oracle.com/security-alerts/cpuoct2021.html
- Web: https://lists.apache.org/thread.html/r946488fb942fd35c6a6e0359f52504a558ed438574a8f14d36d7dcd7%40%3Ccommits.activemq.apache.org%3E
- Web: https://lists.apache.org/thread.html/rb2fd3bf2dce042e0ab3f3c94c4767c96bb2e7e6737624d63162df36d%40%3Ccommits.activemq.apache.org%3E
- Web: https://www.oracle.com//security-alerts/cpujul2021.html
- Web: https://www.oracle.com/security-alerts/cpuApr2021.html
- Web: https://www.oracle.com/security-alerts/cpujan2021.html
- Web: https://www.oracle.com/security-alerts/cpuoct2021.html
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.