GHSA-whxr-3p84-rf3c

Suggest an improvement
Source
https://github.com/advisories/GHSA-whxr-3p84-rf3c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-whxr-3p84-rf3c/GHSA-whxr-3p84-rf3c.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-whxr-3p84-rf3c
Aliases
Related
Published
2025-05-07T09:31:19Z
Modified
2025-05-07T15:42:26.271022Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/AU:Y/R:A/V:D/RE:M/U:Red CVSS Calculator
Summary
Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation
Details

Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ.

During unmarshalling of OpenWire commands the size value of buffers was not properly validated which could lead to excessive memory allocation and be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on the availability of the ActiveMQ broker when not using mutual TLS connections. This issue affects Apache ActiveMQ: from 6.0.0 before 6.1.6, from 5.18.0 before 5.18.7, from 5.17.0 before 5.17.7, before 5.16.8. ActiveMQ 5.19.0 is not affected.

Users are recommended to upgrade to version 6.1.6+, 5.19.0+, 5.18.7+, 5.17.7, or 5.16.8 or which fixes the issue.

Existing users may implement mutual TLS to mitigate the risk on affected brokers.

Database specific
{
    "nvd_published_at": "2025-05-07T09:15:18Z",
    "cwe_ids": [
        "CWE-789"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-05-07T15:25:41Z"
}
References

Affected packages

Maven / org.apache.activemq:activemq-openwire-legacy

Package

Name
org.apache.activemq:activemq-openwire-legacy
View open source insights on deps.dev
Purl
pkg:maven/org.apache.activemq/activemq-openwire-legacy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.16.8

Affected versions

5.*

5.8.0
5.9.0
5.9.1
5.10.0
5.10.1
5.10.2
5.11.0
5.11.1
5.11.2
5.11.3
5.11.4
5.12.0
5.12.1
5.12.2
5.12.3
5.13.0
5.13.1
5.13.2
5.13.3
5.13.4
5.13.5
5.14.0
5.14.1
5.14.2
5.14.3
5.14.4
5.14.5
5.15.0
5.15.1
5.15.2
5.15.3
5.15.4
5.15.5
5.15.6
5.15.7
5.15.8
5.15.9
5.15.10
5.15.11
5.15.12
5.15.13
5.15.14
5.15.15
5.15.16
5.16.0
5.16.1
5.16.2
5.16.3
5.16.4
5.16.5
5.16.6
5.16.7

Maven / org.apache.activemq:activemq-client

Package

Name
org.apache.activemq:activemq-client
View open source insights on deps.dev
Purl
pkg:maven/org.apache.activemq/activemq-client

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.16.8

Affected versions

5.*

5.8.0
5.9.0
5.9.1
5.10.0
5.10.1
5.10.2
5.11.0
5.11.1
5.11.2
5.11.3
5.11.4
5.12.0
5.12.1
5.12.2
5.12.3
5.13.0
5.13.1
5.13.2
5.13.3
5.13.4
5.13.5
5.14.0
5.14.1
5.14.2
5.14.3
5.14.4
5.14.5
5.15.0
5.15.1
5.15.2
5.15.3
5.15.4
5.15.5
5.15.6
5.15.7
5.15.8
5.15.9
5.15.10
5.15.11
5.15.12
5.15.13
5.15.14
5.15.15
5.15.16
5.16.0
5.16.1
5.16.2
5.16.3
5.16.4
5.16.5
5.16.6
5.16.7

Maven / org.apache.activemq:activemq-openwire-legacy

Package

Name
org.apache.activemq:activemq-openwire-legacy
View open source insights on deps.dev
Purl
pkg:maven/org.apache.activemq/activemq-openwire-legacy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
5.17.7

Affected versions

5.*

5.17.0
5.17.1
5.17.2
5.17.3
5.17.4
5.17.5
5.17.6

Maven / org.apache.activemq:activemq-openwire-legacy

Package

Name
org.apache.activemq:activemq-openwire-legacy
View open source insights on deps.dev
Purl
pkg:maven/org.apache.activemq/activemq-openwire-legacy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.7

Affected versions

5.*

5.18.0
5.18.1
5.18.2
5.18.3
5.18.4
5.18.5
5.18.6

Maven / org.apache.activemq:activemq-openwire-legacy

Package

Name
org.apache.activemq:activemq-openwire-legacy
View open source insights on deps.dev
Purl
pkg:maven/org.apache.activemq/activemq-openwire-legacy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.6

Affected versions

6.*

6.0.0
6.0.1
6.1.0
6.1.1
6.1.2
6.1.3
6.1.4
6.1.5

Maven / org.apache.activemq:activemq-client

Package

Name
org.apache.activemq:activemq-client
View open source insights on deps.dev
Purl
pkg:maven/org.apache.activemq/activemq-client

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
5.17.7

Affected versions

5.*

5.17.0
5.17.1
5.17.2
5.17.3
5.17.4
5.17.5
5.17.6

Maven / org.apache.activemq:activemq-client

Package

Name
org.apache.activemq:activemq-client
View open source insights on deps.dev
Purl
pkg:maven/org.apache.activemq/activemq-client

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.7

Affected versions

5.*

5.18.0
5.18.1
5.18.2
5.18.3
5.18.4
5.18.5
5.18.6

Maven / org.apache.activemq:activemq-client

Package

Name
org.apache.activemq:activemq-client
View open source insights on deps.dev
Purl
pkg:maven/org.apache.activemq/activemq-client

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.6

Affected versions

6.*

6.0.0
6.0.1
6.1.0
6.1.1
6.1.2
6.1.3
6.1.4
6.1.5