CVE-2021-4040
MEDIUM 5.3CVSS 3.1org.apache.activemq:artemis-core-client Vulnerable to Out-of-Bounds Write
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.
- Published
- 24 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-787
- Also known as
- GHSA-gf8c-j759-86mg
- Sources
- NVDJSONOSV GHSA-gf8c-j759-86mgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | amq_brokercpe:2.3:a:redhat:amq_broker:*:*:*:*:*:*:*:* |
< 7.10.0 | 7.10.0 |
| NVD | apache | artemiscpe:2.3:a:apache:artemis:*:*:*:*:*:*:*:* |
< 2.19.1 | 2.19.1 |
| OSV | Maven | org.apache.activemq:artemis-core-client | < 2.19.1 | 2.19.1 |
References
- https://access.redhat.com/security/cve/CVE-2021-4040 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2028254 · Issue Tracking, Vendor Advisory, WEB
- https://github.com/apache/activemq-artemis/pull/3871/commits · Patch, Third Party Advisory, WEB
- https://issues.apache.org/jira/browse/ARTEMIS-3593 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-4040 · ADVISORY
- 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://github.com/apache/activemq-artemis · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 24 Aug 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Aug 2022)