Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-expression
  4. ›
  5. CVE-2024-38808

CVE-2024-38808: Spring Framework vulnerable to Denial of Service

August 20, 2024

In Spring Framework versions 5.3.0 - 5.3.38 and older unsupported versions, it is possible for a user to provide a specially crafted Spring Expression Language (SpEL) expression that may cause a denial of service (DoS) condition. Older, unsupported versions are also affected.

Specifically, an application is vulnerable when the following is true:

  • The application evaluates user-supplied SpEL expressions.

References

  • github.com/advisories/GHSA-9cmq-m9j5-mvww
  • github.com/spring-projects/spring-framework
  • github.com/spring-projects/spring-framework/commit/26f2dad388499faecf99e75b8856788e95d8d658
  • github.com/spring-projects/spring-framework/commit/f44d13cb7816e586b86c02421af4f5498391111c
  • nvd.nist.gov/vuln/detail/CVE-2024-38808
  • spring.io/security/cve-2024-38808

Code Behaviors & Features

Detect and mitigate CVE-2024-38808 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.3.39

Fixed versions

  • 5.3.39

Solution

Upgrade to version 5.3.39 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/org.springframework/spring-expression/CVE-2024-38808.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.