Medium severity · published Aug 24, 2022
CVE-2021-4040
A flaw was found in AMQ Broker
5.3
CVSS
3.2%
EPSS
No
On KEV
Description
A flaw was found in AMQ Broker. This issue can cause a partial interruption to the availability of AMQ Broker via an Out of memory (OOM) condition. This flaw allows an attacker to partially disrupt availability to the broker through a sustained attack of maliciously crafted messages. The highest threat from this vulnerability is system availability.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.2% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AB
Amq Broker · Redhat
before 7.10.0 · source: NVD
AR
Artemis · Apache
before 2.19.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-4040
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-4040
Vendor Advisory
https://access.redhat.com/security/cve/CVE-2021-4040
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2028254
Patch
https://github.com/apache/activemq-artemis/pull/3871/commits
Patch
https://issues.apache.org/jira/browse/ARTEMIS-3593
More from Artemis
9.8
CVE-2026-57967
Apache Artemis, Apache ActiveMQ Artemis: Missing authentication on CORE protocol session reattachment
9.8
CVE-2026-27446
Apache Artemis, Apache ActiveMQ Artemis: Auth bypass for Core downstream federation
9.1
CVE-2026-49364
Apache Artemis, Apache Artemis, Apache ActiveMQ Artemis, Apache ActiveMQ Artemis: Pre-Authentication Cluster Credential Exposure to Discovered Peers
9.1
CVE-2026-67593
Apache Artemis, Apache Artemis, Apache ActiveMQ Artemis, Apache ActiveMQ Artemis: Pre-authentication Openwire protocol handling can result in queue deletion
8.8
CVE-2023-50780
Apache ActiveMQ Artemis allows access to diagnostic information and controls through MBeans, which are also exposed through the authenticated Jolokia endpoint
