PT-2020-3202

CVE-2020-5397

·

Published

2020-01-17

·

Updated

2022-07-25

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Spring Framework versions 5.2.x prior to 5.2.3
Description The issue is related to a lack of protection against cross-site request forgery (CSRF) attacks through CORS preflight requests targeting Spring MVC or Spring WebFlux endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials. However, a notable exception is Chrome-based browsers when using client certificates for authentication, as Chrome sends TLS client certificates in CORS preflight requests. No HTTP body can be sent or received as a result of this attack.
Recommendations For Spring Framework versions 5.2.x prior to 5.2.3, update to version 5.2.3 or later to resolve the issue. As a temporary workaround, consider restricting access to vulnerable Spring MVC and Spring WebFlux endpoints to minimize the risk of exploitation. Additionally, avoid using client certificates for authentication in Chrome-based browsers until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-7PM4-G2QJ-J85X
Found an issue in the description? Have something to add? Feel free to write us 👾