CVE-2020-5397
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.
EPSS 2.43% · 83.6th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | libspring-java | 4.3.14-1, *, 4.3.11-1 |
| Ubuntu:Pro:24.04:LTS | libspring-java | 0, 4.3.30-2, 4.3.30-2ubuntu0.24.04.1~esm1 |
| Ubuntu:Pro:20.04:LTS | libspring-java | 4.3.22-4ubuntu0.1~esm1, 4.3.22-4, 0 |
| Ubuntu:Pro:16.04:LTS | libspring-java | 0, 3.2.13-5, 3.2.13-5ubuntu0.1~esm1 |
| Ubuntu:25.10 | libspring-java | 4.3.30-3ubuntu1, 0, 4.3.30-2ubuntu1 |
| Ubuntu:Pro:22.04:LTS | libspring-java | 0, 4.3.30-1, * |
| Ubuntu:Pro:14.04:LTS | libspring-java | 0, *, * |
Timeline
- Jan 16, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 28, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Mar 1, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 3, 2022 EPSS Score
- Sep 6, 2022 EPSS Score
- Nov 8, 2022 EPSS Score
- Jan 10, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-5397 third-party-advisory
- https://pivotal.io/security/cve-2020-5397 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-5397 third-party-advisory