CVE-2021-4040
Summary
| CVE | CVE-2021-4040 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-08-24 16:15:09 UTC |
| Updated | 2026-06-15 13:03:40 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS: 0.024090000 probability, percentile 0.819370000 (date 2026-06-21)
Problem Types: CWE-400 | CWE-787 | CWE-400 CWE-400 - Uncontrolled Resource Consumption
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Apache | Artemis | All | All | All | All |
| Application | Redhat | Amq Broker | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | AMQ Broker | affected Fixed in v2.19.1, v2.20.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [ARTEMIS-3593] OOM error on rogue message to Artemis Broker - ASF JIRA | af854a3a-2127-422b-91ae-364da2661108 | issues.apache.org | Patch, Third Party Advisory |
| Red Hat Customer Portal - Access to 24x7 support and knowledge | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Vendor Advisory |
| ARTEMIS-3593 Defense against OME on parsing XID by clebertsuconic · Pull Request #3871 · apache/activemq-artemis · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| 2028254 – (CVE-2021-4040) CVE-2021-4040 AMQ Broker: Malformed message can result in partial DoS (OOM) | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.