VDB
KO
MEDIUM 4.4

GHSA-p5f7-rjhp-pxvc

Spring AMQP Has Predictable Correlation IDs in RabbitTemplate.sendAndReceive() with Fixed Reply Queue

Quick fix

GHSA-p5f7-rjhp-pxvc — org.springframework.amqp:spring-amqp: upgrade to the fixed version with the command below.

# pom.xml: bump <version>4.0.4</version> for org.springframework.amqp:spring-amqp

Details

Correlation IDs for replies in the RabbitTemplate.sendAndReceive() with the fixed reply queue are predictable due to internal simple counter.

Affected versions: Spring AMQP 4.0.0 through 4.0.3; 3.2.0 through 3.2.10; 3.1.0 through 3.1.15; 2.4.0 through 2.4.17.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.springframework.amqp:spring-amqp
Introduced in: 4.0.0 Fixed in: 4.0.4
Fix # pom.xml: bump <version>4.0.4</version> for org.springframework.amqp:spring-amqp
Maven / org.springframework.amqp:spring-amqp
Introduced in: 3.2.0 Fixed in: 3.2.11
Fix # pom.xml: bump <version>3.2.11</version> for org.springframework.amqp:spring-amqp
Maven / org.springframework.amqp:spring-amqp
Introduced in: 3.1.0

No fixed version published yet for org.springframework.amqp:spring-amqp (maven). Pin to a known-safe version or switch to an alternative.

Maven / org.springframework.amqp:spring-amqp
Introduced in: 0

No fixed version published yet for org.springframework.amqp:spring-amqp (maven). Pin to a known-safe version or switch to an alternative.

References