{"id":"CVE-2021-4040","aliases":["CVE-2021-4040","GHSA-gf8c-j759-86mg"],"related":[],"kind":"vulnerability","state":"published","title":"org.apache.activemq:artemis-core-client Vulnerable to Out-of-Bounds Write","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado un fallo en AMQ Broker. Este problema puede causar una interrupción parcial de la disponibilidad de AMQ Broker por medio de una condición de Out of memory (OOM). Este fallo permite a un atacante interrumpir parcialmente la disponibilidad del broker mediante un ataque sostenido de mensajes maliciosamente diseñados. La mayor amenaza de esta vulnerabilidad es la disponibilidad del sistema.","source":"nvd"}],"published":"2022-08-24T15:13:07.000Z","modified":"2026-06-17T04:18:56.357Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-787"],"affected":[{"ranges":[{"version":"Fixed in v2.19.1, v2.20.0","status":"affected"}],"product":"AMQ Broker","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.19.1"}],"ecosystem":"Maven","package":"org.apache.activemq:artemis-core-client","purl":"pkg:maven/org.apache.activemq/artemis-core-client","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"7.10.0"}],"vendor":"redhat","product":"amq_broker","cpe":"cpe:2.3:a:redhat:amq_broker:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"2.19.1"}],"vendor":"apache","product":"artemis","cpe":"cpe:2.3:a:apache:artemis:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028254","tags":["issue-tracking","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-4040","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://issues.apache.org/jira/browse/ARTEMIS-3593","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/apache/activemq-artemis/pull/3871/commits","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4040","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/activemq-artemis/pull/3862","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/activemq-artemis/pull/3871","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/activemq-artemis/pull/3871/commits/153d2e9a979aead8dff95fbc91d659ecc7d0fb82","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/activemq-artemis","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4040","url":"https://www.cve.org/CVERecord?id=CVE-2021-4040","licence":"CVE Terms of Use","modified":"2024-08-03T17:16:03.705Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gf8c-j759-86mg","url":"https://github.com/advisories/GHSA-gf8c-j759-86mg","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:47.528Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4040","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4040","licence":"Public domain","modified":"2026-06-17T04:18:56.357Z"}],"updatedAt":"2026-11-25T22:58:07.781Z","epss":{"score":0.03379,"percentile":0.89091,"date":"2026-12-01T12:00:22.000Z"}}