Spring Framework DoS via conditional HTTP request
Description
Applications that parse ETags from If-Match or If-None-Match request headers are vulnerable to DoS attack.
Affected Spring Products and Versions
org.springframework:spring-web in versions
6.1.0 through 6.1.11 6.0.0 through 6.0.22 5.3.0 through 5.3.37
Older, unsupported versions are also affected
Mitigation
Users of affected versions should upgrade to the corresponding fixed version. 6.1.x -> 6.1.12 6.0.x -> 6.0.23 5.3.x -> 5.3.38 No other mitigation steps are necessary.
Users of older, unsupported versions could enforce a size limit on If-Match and If-None-Match headers, e.g. through a Filter.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework:spring-web | < 5.3.38, >= 6.0.0, < 6.0.23, >= 6.1.0, < 6.1.12 | 5.3.38, 6.0.23, 6.1.12 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38809
- https://github.com/spring-projects/spring-framework/issues/33372
- https://github.com/spring-projects/spring-framework/commit/582bfccbb72e5c8959a0b472d1dc7d03a20520f3
- https://github.com/spring-projects/spring-framework/commit/8d16a50907c11f7e6b407d878a26e84eba08a533
- https://github.com/spring-projects/spring-framework/commit/bb17ad8314b81850a939fd265fb53b3361705e85
- https://github.com/spring-projects/spring-framework
- https://spring.io/security/cve-2024-38809
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L- Weakness (CWE)
CWE-1333, CWE-400- Platform
- Java / Kotlin (Maven)
- Package
org.springframework:spring-web- Disclosed
- 24.09.2024
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2rmj-mq67-h97g - CC BY 4.0
Vulnerability history: org.springframework:spring-web
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 10.2018 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 4
- Medium 8
Disclosures per year
- 2018: 2
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 4
- 2023: 0
- 2024: 5
- 2025: 1
- 2026: 1
-
Spring Framework DoS via conditional HTTP request this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.