org.springframework.amqp:spring-amqp@2.2.14.RELEASE vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.springframework.amqp:spring-amqp package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Deserialization of Untrusted Data

org.springframework.amqp:spring-amqp is a package that provides support for using Spring and Java with AMQP 0.9.1, and in particular RabbitMQ.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data arriving in AMQP messages. By default, when no allowed list is provided, all classes can be deserialized.

Note

An application is vulnerable if all of these conditions are met:

  • The SimpleMessageConverter or SerializerMessageConverter is used.

  • The user does not configure allowed list patterns.

  • Untrusted message originators have permission to write messages to the RabbitMQ broker.

How to fix Deserialization of Untrusted Data?

Upgrade org.springframework.amqp:spring-amqp to version 2.4.17, 3.0.10 or higher.

[1.0.0,2.4.17) [3.0.0,3.0.10)
  • M
Denial of Service (DoS)

org.springframework.amqp:spring-amqp is a package that provides support for using Spring and Java with AMQP 0.9.1, and in particular RabbitMQ.

Affected versions of this package are vulnerable to Denial of Service (DoS) via the toString() method of the Spring AMQP Message object. The method will create a new String object from the message body, regardless of its size which in turn leads to an out-of-memory error with a large message body.

How to fix Denial of Service (DoS)?

Upgrade org.springframework.amqp:spring-amqp to version 2.2.20, 2.3.12 or higher.

[2.2.0,2.2.20) [2.3.0,2.3.12)
  • M
Denial of Service (DoS)

org.springframework.amqp:spring-amqp is a package that provides support for using Spring and Java with AMQP 0.9.1, and in particular RabbitMQ.

Affected versions of this package are vulnerable to Denial of Service (DoS) by constructing a malicious java.util.Dictionary object that can cause 100% CPU usage in the application if the toString() method is called.

How to fix Denial of Service (DoS)?

Upgrade org.springframework.amqp:spring-amqp to version 2.3.11, 2.2.19 or higher.

[2.3.0,2.3.11) [,2.2.19)