Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-core
  4. ›
  5. CVE-2023-20861

CVE-2023-20861: Spring Framework vulnerable to denial of service via specially crafted SpEL expression

March 23, 2023

In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

References

  • github.com/advisories/GHSA-564r-hj7v-mcr5
  • nvd.nist.gov/vuln/detail/CVE-2023-20861
  • spring.io/security/cve-2023-20861

Code Behaviors & Features

Detect and mitigate CVE-2023-20861 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.2.23.release, all versions starting from 5.3.0 before 5.3.26, all versions starting from 6.0.0 before 6.0.7

Fixed versions

  • 5.3.26
  • 6.0.7
  • 5.2.23.RELEASE

Solution

Upgrade to versions 5.3.26, 6.0.7, 5.2.23.RELEASE or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Source file

maven/org.springframework/spring-core/CVE-2023-20861.yml

Spotted a mistake? Edit the file on GitLab.

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

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