Loading...
Skip to main content

CVE-2017-8045 — Deserialization of Untrusted Data in...

CRITICAL

Deserialization of Untrusted Data in Spring AMQP

Published May 17, 2022Updated November 8, 2023Source: osv

Summary

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.

Advisory Timeline

  • First published May 17, 2022 (1610 days ago).
  • Last revised November 8, 2023 — 540 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.amqp:spring-amqp to 1.7.4 or later
<!-- Update pom.xml dependency version to 1.7.4 for org.springframework.amqp:spring-amqp -->
Maven
Update org.springframework.amqp:spring-amqp to 1.6.11 or later
<!-- Update pom.xml dependency version to 1.6.11 for org.springframework.amqp:spring-amqp -->
Maven
Update org.springframework.amqp:spring-amqp to 1.5.7 or later
<!-- Update pom.xml dependency version to 1.5.7 for org.springframework.amqp:spring-amqp -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.amqp:spring-amqp
maven
1.7.0.RELEASE, 1.7.1.RELEASE, 1.7.2.RELEASE, 1.7.3.RELEASE1.7.4
org.springframework.amqp:spring-amqp
maven
1.6.0.RELEASE, 1.6.1.RELEASE, 1.6.10.RELEASE, 1.6.2.RELEASE (+7 more)1.6.11
org.springframework.amqp:spring-amqp
maven
1.0.0.RELEASE, 1.1.0.RELEASE, 1.1.1.RELEASE, 1.1.2.RELEASE (+29 more)1.5.7

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2017-8045?
Deserialization of Untrusted Data in Spring AMQP This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2017-8045?
CVE-2017-8045 affects org.springframework.amqp:spring-amqp. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-8045 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-vqqg-xgv7-cf68

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies