GitHub Advisory Database
GHSA-w4g2-9hj6-5472
Moderate severity vulnerability that affects com.rabbitmq:amqp-client and org.springframework.amqp:spring-amqp
Details
Pivotal Spring AMQP, 1.x versions prior to 1.7.10 and 2.x versions prior to 2.0.6, expose a man-in-the-middle vulnerability due to lack of hostname validation. A malicious user that has the ability to intercept traffic would be able to view data in transit.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.amqp:spring-amqp | From 2.0.0 before 2.0.6 (fixed in 2.0.6) |
| Maven | org.springframework.amqp:spring-amqp | All versions before 1.7.10 (fixed in 1.7.10) |
| Maven | com.rabbitmq:amqp-client | All versions before 4.8.0 (fixed in 4.8.0) |
| Maven | com.rabbitmq:amqp-client | From 5.0.0 before 5.4.0 (fixed in 5.4.0) |