Description
Wss4jSecurityInterceptor initialized its BSP (WS-I Basic Security Profile) compliance flag so that inbound validation disabled WSS4J BSP enforcement on RequestData. Services that validate WS-Security on the network could therefore accept messages that violate BSP rules, weakening protocol-level checks.
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Web Services | 5.0.0 – < 5.0.1.1, 4.1.0 – < 4.1.3.1, 4.0.0 – < 4.0.19, 3.1.0 – < 3.1.9 | 5.0.1.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | its | No fix yet | — |
| Ubuntu 18.04 LTS | its | No fix yet | — |
| Ubuntu 16.04 LTS | its | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.ws:spring-ws-security | >= 5.0.0, < 5.0.2 | 5.0.2 | GHSA-gg9r-wr4p-w63h |
| Maven | org.springframework.ws:spring-ws-security | >= 4.1.0, < 4.1.4 | 4.1.4 | GHSA-gg9r-wr4p-w63h |
| Maven | org.springframework.ws:spring-ws-security | >= 4.0.0, <= 4.0.18 | — | GHSA-gg9r-wr4p-w63h |
| Maven | org.springframework.ws:spring-ws-security | >= 3.1.0, <= 3.1.8 | — | GHSA-gg9r-wr4p-w63h |