Medium

Spring Framework DoS via conditional HTTP request

  • Disclosed: 24.09.2024
  • Updated: 11.10.2026 13:20

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.

PlatformPackageVulnerable versionsFixed 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

CVSS score 5.3/10
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.

All (13) in the archive
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

  1. 2018: 2
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 4
  6. 2023: 0
  7. 2024: 5
  8. 2025: 1
  9. 2026: 1
Severity:
  1. Spring Framework DoS via conditional HTTP request this entry
    Medium · 5.3 CVE-2024-38809 < 5.3.38, >= 6.0.0, < 6.0.23, >= 6.1.0, < 6.1.12 5.3.38, 6.0.23, 6.1.12
  2. High · 8.1 CVE-2024-22262 < 5.3.34, >= 6.0.0, < 6.0.19, >= 6.1.0, < 6.1.6 5.3.34, 6.0.19, 6.1.6
  3. High · 8.1 CVE-2024-22259 >= 6.1.0, < 6.1.5, >= 6.0.0, < 6.0.18, < 5.3.33 6.1.5, 6.0.18, 5.3.33
  4. High · 8.1 CVE-2024-22243 >= 6.1.0, < 6.1.4, >= 6.0.0, < 6.0.17, >= 5.3.0, < 5.3.32, <= 5.2.25.RELEASE 6.1.4, 6.0.17, 5.3.32
  5. High · 7.8 CVE-2021-22118 >= 5.2.0, < 5.2.15, >= 5.3.0, < 5.3.7 5.2.15, 5.3.7
  6. Critical · 9.8 CVE-2016-1000027 < 6.0.0 6.0.0

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.