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

CVE-2022-22963: Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression

April 3, 2022 (updated October 22, 2025)

In Spring Cloud Function versions 3.1.6, 3.2.2 and older unsupported versions, when using routing functionality it is possible for a user to provide a specially crafted SpEL as a routing-expression that may result in remote code execution and access to local resources.

References

  • github.com/advisories/GHSA-6v73-fgf6-w5j7
  • github.com/spring-cloud/spring-cloud-function
  • nvd.nist.gov/vuln/detail/CVE-2022-22963
  • psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005
  • tanzu.vmware.com/security/cve-2022-22963
  • tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-scf-rce-DQrHhJxH
  • www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22963
  • www.oracle.com/security-alerts/cpuapr2022.html
  • www.oracle.com/security-alerts/cpujul2022.html

Code Behaviors & Features

Detect and mitigate CVE-2022-22963 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 3.1.7, all versions starting from 3.2.0 before 3.2.3

Fixed versions

  • 3.2.3
  • 3.1.7

Solution

Upgrade to versions 3.1.7, 3.2.3 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.springframework.cloud/spring-cloud-function-context/CVE-2022-22963.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 23 Oct 2025 12:21:05 +0000.