ADVISORIES

GitHub Advisory Database

GHSA-8qq9-r6cc-qjv9

Spring Web Services: WSS4J validation does not use configured replay cache

Details

Wss4jSecurityInterceptor did not consistently wire Apache WSS4J ReplayCache instances into RequestData for validation-time checks. As a result, protections against replay of UsernameToken nonces and creation timestamps, Timestamp elements, and certain SAML one-time-use semantics could be ineffective even when operators configured a replay cache on the interceptor.

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-security
From 5.0.0 before 5.0.2 (fixed in 5.0.2)
Mavenorg.springframework.ws:spring-ws-security
From 4.1.0 before 4.1.4 (fixed in 4.1.4)
Mavenorg.springframework.ws:spring-ws-security
From 4.0.0 up to and including 4.0.18
Mavenorg.springframework.ws:spring-ws-security
From 3.1.0 up to and including 3.1.8

References