Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.cloud/spring-cloud-function-context
  4. ›
  5. CVE-2024-22271

CVE-2024-22271: Spring Cloud Function Framework vulnerable to Denial of Service

July 9, 2024

In Spring Cloud Function framework, versions 4.1.x prior to 4.1.2, 4.0.x prior to 4.0.8 an application is vulnerable to a DOS attack when attempting to compose functions with non-existing functions.

Specifically, an application is vulnerable when all of the following are true:

User is using Spring Cloud Function Web module

Affected Spring Products and Versions Spring Cloud Function Framework 4.1.0 to 4.1.2 4.0.0 to 4.0.8

References

  • github.com/advisories/GHSA-j4r7-p9fp-w3f3
  • github.com/spring-cloud/spring-cloud-function
  • github.com/spring-cloud/spring-cloud-function/commit/59fe298b67fcb9249db727a7b3a33612fc7a9f75
  • github.com/spring-cloud/spring-cloud-function/issues/1139
  • github.com/spring-cloud/spring-cloud-function/releases/tag/v4.1.2
  • nvd.nist.gov/vuln/detail/CVE-2024-22271
  • spring.io/security/cve-2024-22271

Code Behaviors & Features

Detect and mitigate CVE-2024-22271 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 starting from 4.0.0 before 4.0.8, all versions starting from 4.1.0 before 4.1.2

Fixed versions

  • 4.0.8
  • 4.1.2

Solution

Upgrade to versions 4.0.8, 4.1.2 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.springframework.cloud/spring-cloud-function-context/CVE-2024-22271.yml

Spotted a mistake? Edit the file on GitLab.

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

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