Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-4040
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:54 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-4040
Complete source record
{
"id": "9f56fd05e4816be5416d8e02debd0902ba9e77e031c3164d4d0e853c72770f0b",
"url": "https://osv.dev/vulnerability/CVE-2021-4040",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-4040",
"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.",
"evidence": "osv:CVE-2021-4040",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-4040",
"aliases": [
"CVE-2021-4040",
"GHSA-gf8c-j759-86mg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/artemis",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "95c2508a469806dda5253d2e4eb8888563274d4f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:artemis:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.19.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.19.0",
"2.18.0",
"2.17.0",
"2.16.0",
"2.15.0",
"2.14.0",
"2.13.0",
"2.12.0",
"2.11.0",
"2.10.1",
"2.10.0",
"2.9.0",
"2.8.1",
"2.8.0",
"2.7.0",
"2.6.0",
"2.5.0",
"2.4.0",
"2.3.0",
"2.2.0",
"2.1.0",
"2.0.0",
"1.5.1",
"1.5.0",
"1.4.0",
"1.3.0",
"1.2.0",
"1.1.0",
"1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4040.json"
}
}
],
"modified": "2026-10-20T10:54:55.855712007Z",
"provider": "osv",
"references": [
"https://access.redhat.com/security/cve/CVE-2021-4040",
"https://bugzilla.redhat.com/show_bug.cgi?id=2028254",
"https://github.com/apache/activemq-artemis/pull/3871/commits",
"https://issues.apache.org/jira/browse/ARTEMIS-3593"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:redhat:amq_broker:*:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:amq_broker",
"extracted_events": [
{
"range": [
{
"fixed": "7.10.0"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-4040",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386479,
"published_at": "2022-08-24T16:15:09.313+00:00"
}