Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreApplications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack
if they use PathPattern with a pattern that contains a {name:regex} variable,
and that regular expression is prone to excessive backtracking.
This applies to request mappings in Spring MVC and Spring WebFlux applications, as well as
PathPatternParser being used directly by applications.
When those conditions are met, an attacker can send crafted request paths that consume excessive CPU time during request matching.
Spring Framework:
| Fix version | Availability |
|---|---|
| 7.0.11 | OSS |
| 7.0.10.1 | Enterprise Support Only |
| 6.2.21 | Enterprise Support Only |
| 6.1.30 | Enterprise Support Only |
| 6.0.33 | Enterprise Support Only |
| 5.3.51 | Enterprise Support Only |
| 5.2.27.RELEASE | Enterprise Support Only |
No further mitigation steps are necessary.
This issue was reported by YLChen-007 and Aditya Bavadekar.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy