NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-38809: Spring Framework DoS via conditional HTTP request

mediumCVSS 3.1 5.3GHSA-2rmj-mq67-h97g

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.

Published Sep 24, 2024 · Updated Feb 21, 2025

Affected packages

org.springframework:spring-web

Ecosystem
Maven
Affected
< 5.3.38
Fixed in
5.3.38
Check
mvn dependency:tree -Dincludes=org.springframework:spring-web

org.springframework:spring-web

Ecosystem
Maven
Affected
>= 6.0.0, < 6.0.23
Fixed in
6.0.23
Check
mvn dependency:tree -Dincludes=org.springframework:spring-web

org.springframework:spring-web

Ecosystem
Maven
Affected
>= 6.1.0, < 6.1.12
Fixed in
6.1.12
Check
mvn dependency:tree -Dincludes=org.springframework:spring-web

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to weddige.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries