Unsafe Deserialization that can Result in Code ExecutionGHSA-v525-c3g5-cg9p
Fix: rabbitmq/rabbitmq-jms-client#136GHSA-v525-c3g5-cg9p is a Deserialization of Untrusted Data vulnerability in com.rabbitmq.jms:rabbitmq-jms. A fix is available for com.rabbitmq.jms:rabbitmq-jms — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
com.rabbitmq.jms:rabbitmq-jms☕com.rabbitmq.jms:rabbitmq-jmsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
JMS Client for RabbitMQ 1.x before 1.15.2 and 2.x before 2.2.0 is vulnerable to unsafe deserialization that can result in code execution via crafted StreamMessage data.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.rabbitmq.jms:rabbitmq-jms | ≥ 2.0&&< 2.2.0 | 2.2.0com.rabbitmq.jms:rabbitmq-jms:2.2.0 |
| ☕Maven | com.rabbitmq.jms:rabbitmq-jms | ≥ 1.0&&< 1.15.2 | 1.15.2com.rabbitmq.jms:rabbitmq-jms:1.15.2 |
Affected Products
jms clientrabbitmqDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.rabbitmq.jms:rabbitmq-jms, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.rabbitmq.jms:rabbitmq-jms to 2.2.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-v525-c3g5-cg9p is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is GHSA-v525-c3g5-cg9p in your dependencies?
Find it across Maven, including transitive dependencies.