CVE-2017-8045 — spring-amqp
CRITICALCVE-2017-8045 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability in org.springframework.amqp:spring-amqp. A fix is available for org.springframework.amqp:spring-amqp — see the affected versions and patch details below.
Deserialization of Untrusted Data in Spring AMQP
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.springframework.amqp:spring-amqp☕org.springframework.amqp:spring-amqp☕org.springframework.amqp:spring-amqpReal-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
In Pivotal Spring AMQP versions prior to 1.7.4, 1.6.11, and 1.5.7, an org.springframework.amqp.core.Message may be unsafely deserialized when being converted into a string. A malicious payload could be crafted to exploit this and enable a remote code execution attack.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework.amqp:spring-amqp | all versions | 1.5.7org.springframework.amqp:spring-amqp:1.5.7 |
| ☕Maven | org.springframework.amqp:spring-amqp | ≥ 1.6.0&&< 1.6.11 | 1.6.11org.springframework.amqp:spring-amqp:1.6.11 |
| ☕Maven | org.springframework.amqp:spring-amqp | ≥ 1.7.0&&< 1.7.4 | 1.7.4org.springframework.amqp:spring-amqp:1.7.4 |
Affected Products
spring advanced message queuing protocolpivotal_softwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.amqp:spring-amqp, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework.amqp:spring-amqp to 1.5.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2017-8045 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 CVE-2017-8045 in your dependencies?
Find it across Maven, including transitive dependencies.