Description
Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Framework | 5.2 – < v5.2.3.RELEASE | v5.2.3.RELEASE |
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 26.10 | libspring-java | No fix yet | — |
| Ubuntu 26.04 LTS | libspring-java | No fix yet | — |
| Ubuntu 25.10 | libspring-java | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 22.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 20.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libspring-java | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework:spring-webflux | >= 5.2.0, < 5.2.3 | 5.2.3 | GHSA-7pm4-g2qj-j85x |
| Maven | org.springframework:spring-webmvc | >= 5.2.0, < 5.2.3 | 5.2.3 | GHSA-7pm4-g2qj-j85x |
Advisories 1
- WID-SEC-2024-2181 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 18, 2024
References
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://pivotal.io/security/cve-2020-5397
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpujul2022.html