Description
Applications that configure their broker connection via RabbitConnectionFactoryBean.setUri("amqps://...") without also calling setUseSSL(true) get TLS encryption with no certificate validation and no hostname verification.
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring AMQP | 4.0.0 – < 4.0.3.1, 3.2.0 – < 3.2.10.1, 3.1.0 – < 3.1.16, 2.4.0 – < 2.4.18 | 4.0.3.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.amqp:spring-amqp | >= 4.0.0, < 4.0.4 | 4.0.4 | GHSA-p8qj-fj6r-w7q9 |
| Maven | org.springframework.amqp:spring-amqp | >= 3.2.0, < 3.2.11 | 3.2.11 | GHSA-p8qj-fj6r-w7q9 |
| Maven | org.springframework.amqp:spring-amqp | >= 3.1.0, <= 3.1.15 | — | GHSA-p8qj-fj6r-w7q9 |
| Maven | org.springframework.amqp:spring-amqp | <= 2.4.17 | — | GHSA-p8qj-fj6r-w7q9 |