CVE-2020-5397 – org.springframework:spring-webmvc
Package
Manager: maven
Name: org.springframework:spring-webmvc
Vulnerable Version: >=5.2.0 <5.2.3
Severity
Level: Medium
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00889 pctl0.74644
Details
CSRF attack via CORS preflight requests with Spring MVC or Spring WebFlux 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.
Metadata
Created: 2020-01-21T20:59:33Z
Modified: 2024-03-15T15:54:01Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/01/GHSA-7pm4-g2qj-j85x/GHSA-7pm4-g2qj-j85x.json
CWE IDs: ["CWE-352"]
Alternative ID: GHSA-7pm4-g2qj-j85x
Finding: F007
Auto approve: 1