Skip to content
Fencer Vulns
medium 5.3

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

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 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

Weakness
  • CWE-400 Uncontrolled Resource Consumption
  • CWE-787 Out-of-bounds Write

References

Sources

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.