GHSA-p8qj-fj6r-w7q9
Spring AMQP Core: Missing Certificate and Hostname Verification for amqps URIs in RabbitConnectionFactoryBean
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.amqp:spring-amqp | >= 4.0.0, < 4.0.4 | 4.0.4 |
| Maven | org.springframework.amqp:spring-amqp | >= 3.2.0, < 3.2.11 | 3.2.11 |
| Maven | org.springframework.amqp:spring-amqp | >= 3.1.0, <= 3.1.15 | no fix listed |
| Maven | org.springframework.amqp:spring-amqp | <= 2.4.17 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.