VDB
KO
LOW 3.7

GHSA-8qq9-r6cc-qjv9

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

Quick fix

GHSA-8qq9-r6cc-qjv9 — org.springframework.ws:spring-ws-security: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.0.2</version> for org.springframework.ws:spring-ws-security

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.springframework.ws:spring-ws-security
Introduced in: 5.0.0 Fixed in: 5.0.2
Fix # pom.xml: bump <version>5.0.2</version> for org.springframework.ws:spring-ws-security
Maven / org.springframework.ws:spring-ws-security
Introduced in: 4.1.0 Fixed in: 4.1.4
Fix # pom.xml: bump <version>4.1.4</version> for org.springframework.ws:spring-ws-security
Maven / org.springframework.ws:spring-ws-security
Introduced in: 4.0.0

No fixed version published yet for org.springframework.ws:spring-ws-security (maven). Pin to a known-safe version or switch to an alternative.

Maven / org.springframework.ws:spring-ws-security
Introduced in: 3.1.0

No fixed version published yet for org.springframework.ws:spring-ws-security (maven). Pin to a known-safe version or switch to an alternative.

References