cve.bz

CVE-2021-26118 Improper Access Control

7.5 highEPSS 4.0%Fix available

High (7.5). EPSS 4.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.activemq:artemis-openwire-protocol 2.16.0.

On this page
While investigating ARTEMIS-2964 it was found that the creation of advisory messages in the OpenWire protocol head of Apache ActiveMQ Artemis 2.15.0 bypassed policy based access control for the entire session. Production of advisory messages was not subject to access control in error.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
4.0% (unchanged from 4.0% a week ago; 3.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-26118 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-26118?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-26118?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-26118 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache ActiveMQ Artemisbefore 2.16.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q7fr-vqhq-v5xrMavenorg.apache.activemq:artemis-openwire-protocol<2.16.02.16.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 moreactivemqno fix listedUBUNTU-CVE-2021-26118

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

If you are not using the openwire protocol, it can be disabled by removing it from the list of accepted protocols in the `broker.xml`

```xml

<acceptor name="artemis">tcp://0.0.0.0:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;amqpMinLargeMessageSize=102400;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT;useEpoll=true;amqpCredits=1000;amqpLowCredits=300;amqpDuplicateDetection=true</acceptor>

```

ProductPackageStateAdvisory
Red Hat AMQFixed 2020-12-08RHSA-2020:5365
Red Hat AMQ 7.8.1Fixed 2021-02-04RHSA-2021:0417
Red Hat AMQ Broker 7brokerAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-26118.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON