{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-4040","id":"CVE-2021-4040","title":"org.apache.activemq:artemis-core-client Vulnerable to Out-of-Bounds Write","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.","descriptionLong":"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.","published":"2022-08-24T15:13:07.000Z","updated":"2026-10-20T10:54:55.855712007Z","reserved":"2021-12-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["AMQ Broker"],"affectedProducts":[{"vendor":"n/a","product":"AMQ Broker","defaultStatus":null,"versions":[{"status":"affected","version":"Fixed in v2.19.1, v2.20.0"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.activemq:artemis-core-client","purl":"pkg:maven/org.apache.activemq/artemis-core-client","ranges":["<2.19.1"],"fixed":["2.19.1"],"advisory":"GHSA-gf8c-j759-86mg"}],"cwes":["CWE-400","CWE-787"],"aliases":["GHSA-gf8c-j759-86mg"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028254","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-4040","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://issues.apache.org/jira/browse/ARTEMIS-3593","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/apache/activemq-artemis/pull/3871/commits","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4040","tags":["advisory"]},{"url":"https://github.com/apache/activemq-artemis/pull/3862","tags":["web"]},{"url":"https://github.com/apache/activemq-artemis/pull/3871","tags":["web"]},{"url":"https://github.com/apache/activemq-artemis/pull/3871/commits/153d2e9a979aead8dff95fbc91d659ecc7d0fb82","tags":["web"]},{"url":"https://github.com/apache/activemq-artemis","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03379,"epssPercentile":0.89023,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-4040","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4040","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-4040","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gf8c-j759-86mg","ok":true,"note":"GHSA-gf8c-j759-86mg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-4040","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}