CVE-2021-4040: Medium severity redhat Amq Broker vulnerability

Published Nov 19, 2021
·
Updated

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.

Other sources

A flaw was found in the Red Hat AMQ Broker 7.9.0 and prior that allows an attacker to partially disrupt availability (DoS) through uncontrolled resource consumption of memory.

Red Hat

Affected Software

3 affected components
redhat Amq Broker<7.10.0
Apache ActiveMQ Artemis<2.19.1
Apache ARTEMIS<2.19.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Restrict network access to the AMQ Broker to trusted hosts and management networks using firewall rules, ACLs or network segmentation to reduce exposure to malicious, sustained message traffic.

  2. Compensating control

    Deploy ingress filtering or rate-limiting at the edge (load balancer, proxy, or message gateway) to limit message send rate and/or size to the broker and mitigate uncontrolled resource consumption.

  3. Operational

    Implement monitoring and alerting for broker memory usage and process health, and establish automated recovery/runbook steps (e.g., graceful restart, failover) so availability can be restored quickly if an OOM occurs.

  4. Operational

    Apply vendor-supplied updates or patches for Red Hat AMQ Broker as soon as a fixed version or advisory is released by the vendor; verify and test updates before wide deployment.

Event History

Nov 19, 2021
CVE Published
12:05 PM
Data Sourced
12:05 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 1, 2021
Data Sourced
via Red Hat·07:44 PM
DescriptionSeverityAffected Software
Aug 24, 2022
CVE Published
via MITRE·03:13 PM
Data Sourced
via MITRE·03:13 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-4040?

CVE-2021-4040 is a vulnerability found in AMQ Broker that can cause a partial interruption to the availability of the broker due to an Out of Memory (OOM) condition.

2

How does CVE-2021-4040 affect AMQ Broker?

CVE-2021-4040 allows an attacker to partially disrupt the availability of AMQ Broker through a sustained attack of maliciously crafted messages.

3

What is the severity of CVE-2021-4040?

The severity of CVE-2021-4040 is medium with a CVSS score of 5.3.

4

Which versions of AMQ Broker and Apache ActiveMQ Artemis are affected by CVE-2021-4040?

AMQ Broker version up to 7.10.0 and Apache ActiveMQ Artemis version up to 2.19.1 are affected by CVE-2021-4040.

5

How can I fix CVE-2021-4040?

To fix CVE-2021-4040, update your AMQ Broker to a version beyond 7.10.0 and Apache ActiveMQ Artemis to a version beyond 2.19.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203