CVE-2017-8045 Deserialization of Untrusted Data in Spring AMQP
Attackers can achieve remote code execution by sending a malicious payload that triggers unsafe deserialization in Spring AMQP.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-8045?
CVE-2017-8045 is a critical unsafe deserialization vulnerability in Spring AMQP Spring AMQP versions prior to 1.7.4, 1.6.11, and 1.5.7, published on 27 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-502
Which versions are affected by CVE-2017-8045?
6 open source packages ship an affected version, including org.springframework.amqp:spring-amqp. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.amqp:spring-amqp Maven | All versions | 1.5.7 |
org.springframework.amqp:spring-amqp Maven | All versions | 1.5.7 |
org.springframework.amqp:spring-amqp Maven | From 1.6.0 | 1.6.11 |
org.springframework.amqp:spring-amqp Maven | From 1.6.0 | 1.6.11 |
org.springframework.amqp:spring-amqp Maven | From 1.7.0 | 1.7.4 |
org.springframework.amqp:spring-amqp Maven | From 1.7.0 | 1.7.4 |
Products include Pivotal Software Spring Advanced Message Queuing Protocol.
How do I fix CVE-2017-8045?
Upgrade org.springframework.amqp:spring-amqp to a fixed version for your release line: 1.5.7, 1.6.11 or 1.7.4.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2017-8045 being exploited?
There is no known exploitation of CVE-2017-8045 in the wild and no public exploit code.
Other vulnerabilities in Spring AMQP Spring AMQP versions prior to 1.7.4, 1.6.11, and 1.5.7
Sources
Also known as GHSA-vqqg-xgv7-cf68.