{"api_version":"1","generated_at":"2026-04-22T17:46:48+00:00","cve":"CVE-2021-4040","urls":{"html":"https://cve.report/CVE-2021-4040","api":"https://cve.report/api/cve/CVE-2021-4040.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4040","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4040"},"summary":{"title":"CVE-2021-4040","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-08-24 16:15:00","updated_at":"2022-08-29 16:40:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2021-4040","name":"https://access.redhat.com/security/cve/CVE-2021-4040","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://issues.apache.org/jira/browse/ARTEMIS-3593","name":"https://issues.apache.org/jira/browse/ARTEMIS-3593","refsource":"MISC","tags":[],"title":"[ARTEMIS-3593] OOM error on rogue message to Artemis Broker - ASF JIRA","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/apache/activemq-artemis/pull/3871/commits","name":"https://github.com/apache/activemq-artemis/pull/3871/commits","refsource":"MISC","tags":[],"title":"ARTEMIS-3593 Defense against OME on parsing XID by clebertsuconic · Pull Request #3871 · apache/activemq-artemis · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028254","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2028254","refsource":"MISC","tags":[],"title":"2028254 – (CVE-2021-4040) CVE-2021-4040 AMQ Broker: Malformed message can result in partial DoS (OOM)","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-4040","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4040","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"4040","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"activemq_artemis","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"4040","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"amq_broker","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-4040","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400 - Uncontrolled Resource Consumption","cweId":"CWE-400"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"AMQ Broker","version":{"version_data":[{"version_affected":"=","version_value":"Fixed in v2.19.1, v2.20.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028254","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2028254"},{"url":"https://access.redhat.com/security/cve/CVE-2021-4040","refsource":"MISC","name":"https://access.redhat.com/security/cve/CVE-2021-4040"},{"url":"https://issues.apache.org/jira/browse/ARTEMIS-3593","refsource":"MISC","name":"https://issues.apache.org/jira/browse/ARTEMIS-3593"},{"url":"https://github.com/apache/activemq-artemis/pull/3871/commits","refsource":"MISC","name":"https://github.com/apache/activemq-artemis/pull/3871/commits"}]}},"nvd":{"publishedDate":"2022-08-24 16:15:00","lastModifiedDate":"2022-08-29 16:40:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:amq_broker:*:*:*:*:*:*:*:*","versionEndExcluding":"7.10.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:apache:activemq_artemis:*:*:*:*:*:*:*:*","versionEndExcluding":"2.19.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"4040","Ordinal":"222281","Title":"CVE-2021-4040","CVE":"CVE-2021-4040","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"4040","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}