Quick answers
- Is CVE-2021-26118 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-26118 being exploited in the wild.
- How severe is CVE-2021-26118?
- High severity, with a CVSS score of 7.5, published 16 June 2021.
- Which products and versions are affected?
- Apache Activemq Artemis < 2.16.0; org.apache.activemq:artemis-openwire-protocol (Maven) < 2.16.0, ECOSYSTEM:introduced=0,fixed=2.16.0.
- Is there a fix for CVE-2021-26118?
- Yes. org.apache.activemq:artemis-openwire-protocol (Maven): upgrade to 2.16.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2021-26118 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2021-26118?
- Check whether you run Apache Activemq Artemis or org.apache.activemq:artemis-openwire-protocol (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.apache.activemq:artemis-openwire-protocol (Maven): upgrade to 2.16.0 or later
# set org.apache.activemq:artemis-openwire-protocol to 2.16.0 in your pom.xml or build.gradle
Technical details
A vulnerability in the OpenWire protocol head of Apache ActiveMQ Artemis (specifically identified in version 2.15.0) allows for the production of advisory messages without proper access control. The root cause is a failure to apply policy-based access control to these specific message types, which effectively allows an attacker to bypass security restrictions for the entire session. This is a network-reachable vulnerability that requires no authentication or user interaction. An attacker can exploit this to inject unauthorized advisory messages, impacting the integrity of the messaging system. The issue is addressed in version 2.16.0.
Affected products
- Apache ActiveMQ Artemis < 2.16.0
Identifiers
- CVE-2021-26118
- GHSA-q7fr-vqhq-v5xr
Timeline
- 2021-01-27: disclosed: NVD published date
- 2021-06-16: advisory: GitHub Advisory published
- 2020-10-29: patched: Fix committed to repository
References
- https://lists.apache.org/thread.html/rafd5d7cf303772a0118865262946586921a65ebd98fc24f56c812574@%3Cannounce.apache.org%3E
- https://mail-archives.apache.org/mod_mbox/activemq-users/202101.mbox/%3CCAH%2BvQmMUNnkiXv2-d3ucdErWOsdnLi6CgnK%2BVfixyJvTgTuYig%40mail.gmail.com%3E
- https://github.com/apache/activemq-artemis/commit/e5566d52116d81611d914548adc3cbb14d7118d4
- https://lists.apache.org/thread.html/rafd5d7cf303772a0118865262946586921a65ebd98fc24f56c812574%40%3Cannounce.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210827-0002