WaratekVRT Sign in

CVE-2021-4040 AMQ Broker

Affected softwareAMQ Broker
Severity5.3 Medium CVSS 3.1
Fixed in2.19.1
WeaknessOut-of-bounds write (CWE-787)
Published24 Aug 2022
Updated17 Jun 2026

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.

CWE-400 · Uncontrolled resource consumption

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 3.4% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: apache/activemq-artemis #3871.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.
Candidate fix https://github.com/apache/activemq-artemis/pull/3871/commits : a pull request: the change under review

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.activemq:artemis-core-client 0 2.19.1 unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd apache artemis generic < 2.19.1
osv org.apache.activemq artemis-core-client generic < 2.19.1
nvd redhat amq broker generic < 7.10.0

References

URLTags
https://github.com/apache/activemq-artemis/pull/3871/commits pr
https://github.com/apache/activemq-artemis/pull/3862 WEB
https://github.com/apache/activemq-artemis/pull/3871 WEB
https://github.com/apache/activemq-artemis/pull/3871/commits/153d2e9a979aead8dff95fbc91d659ecc7d0fb82 WEB
https://access.redhat.com/security/cve/CVE-2021-4040 WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2028254 WEB
https://github.com/apache/activemq-artemis PACKAGE
https://issues.apache.org/jira/browse/ARTEMIS-3593 WEB

Timeline

Published2022-08-24By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.