GitHub Advisoryadvisory · Maven

GHSA-6v73-fgf6-w5j7 Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression

CRITICAL Published 2022-04-03 Modified 2025-10-22 Official page ↗
Aliases
CVE-2022-22963
Ecosystem
Maven
Packages
org.springframework.cloud:spring-cloud-function-context
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
Weaknesses
CWE-917, CWE-94
Reviewed
2022-04-05

Affected packages

• Maven org.springframework.cloud:spring-cloud-function-context: >= 3.2.0, < 3.2.3 → fixed in 3.2.3 • Maven org.springframework.cloud:spring-cloud-function-context: < 3.1.7 → 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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (2)

  • CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement weakness
  • CWE-94 Improper Control of Generation of Code weakness

References