ADVISORIES

GitHub Advisory Database

GHSA-whpp-xv3h-rwxf

Spring Web Services: SSRF via unvalidated WS-Addressing reply destinations

Details

When WS-Addressing is used with non-anonymous ReplyTo or FaultTo addresses, Spring WS may initiate outbound connections through configured WebServiceMessageSender instances to destinations taken directly from request headers without verifying that those destinations are safe to connect to.

Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.ws:spring-ws-core
From 5.0.0 before 5.0.2 (fixed in 5.0.2)
Mavenorg.springframework.ws:spring-ws-core
From 4.1.0 before 4.1.4 (fixed in 4.1.4)
Mavenorg.springframework.ws:spring-ws-core
From 4.0.0 up to and including 4.0.18
Mavenorg.springframework.ws:spring-ws-core
From 3.1.0 up to and including 3.1.8

References