CVE-2021-4040 json
org.apache.activemq:artemis-core-client Vulnerable to Out-of-Bounds Write
published 2022-08-24 4 y ago modified 2026-06-17 4 mo ago also GHSA-gf8c-j759-86mg , EUVD-2022-6556
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.2%
- EPSS 3.2% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.activemq:artemis-core-client 2.19.1
- redhat amq_broker 7.10.0
- apache artemis 2.19.1
- github.com/apache/activemq-artemis#3871 commit
- github.com/apache/activemq-artemis#3871 pull request
- github.com/apache/activemq-artemis#3862 pull request
- github.com/apache/activemq-artemis#3871 pull request
- issues.apache.org/jira/browse/ARTEMIS-3593 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-4040 updated cvss 5.3
Broker: Malformed message can result in partial DoS (OOM)
-
Red Hat AMQ 7.10.0fixed: vendor fix RHSA-2022:5101
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.19% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.activemq:artemis-core-client | <2.19.1 |
2.19.1 |
Affected products
- n/a AMQ Broker
Classification
References
-
github.com
/apache/activemq-artemis/pull/3871/commits
web, patch, third-party-advisory
-
issues.apache.org
/jira/browse/ARTEMIS-3593
web, patch, third-party-advisory
-
github.com
/apache/activemq-artemis/pull/3862
web
-
github.com
/apache/activemq-artemis/pull/3871
web
-
github.com
/apache/activemq-artemis/pull/3871/commits/153d2e9a979aead8dff95fbc91d659ecc7d0fb82
web
-
bugzilla.redhat.com
/show_bug.cgi?id=2028254
web, issue-tracking, vendor-advisory
-
access.redhat.com
/security/cve/CVE-2021-4040
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-4040
advisory
-
github.com
/apache/activemq-artemis
package
Sources
- CVE List CVE-2021-4040
- GitHub Advisory GHSA-gf8c-j759-86mg
- NVD CVE-2021-4040
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.