VDB
KO
MEDIUM 5.4

GHSA-6mfm-98wv-32wm

Spring Web Services: X.509 authentication bypasses Spring Security account checks

Quick fix

GHSA-6mfm-98wv-32wm — 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

X509AuthenticationProvider could issue a fully authenticated X509AuthenticationToken when a presented certificate mapped to UserDetails, without applying Spring Security's standard account lifecycle checks (disabled, locked, expired, or credentials-expired accounts).

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