GitHub Advisoryadvisory · Maven

GHSA-2rmj-mq67-h97g Spring Framework DoS via conditional HTTP request

MEDIUM Published 2024-09-24 Modified 2025-02-21 Official page ↗
Aliases
CVE-2024-38809
Ecosystem
Maven
Packages
org.springframework:spring-web
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-1333, CWE-400
Reviewed
2024-09-24

Affected packages

• Maven org.springframework:spring-web: < 5.3.38 → fixed in 5.3.38 • Maven org.springframework:spring-web: >= 6.0.0, < 6.0.23 → fixed in 6.0.23 • Maven org.springframework:spring-web: >= 6.1.0, < 6.1.12 → fixed in 6.1.12

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-38809 Applications that parse ETags from "If-Match" or "If-None-Match" request headers are vulnerable to DoS attack. vulnerability

Weakness · CWE (2)

  • CWE-1333 Inefficient Regular Expression Complexity weakness
  • CWE-400 Uncontrolled Resource Consumption weakness

References