Hexret
CVE-2022-22963critical 9.8PoC available

Spring Cloud Function header-supplied SpEL injection

The function router evaluated a routing expression taken from an HTTP-derived message header with Spring's powerful standard expression context, allowing untrusted input to invoke Java types and methods instead of merely selecting a function.

Product
Spring Cloud Function
Vendor
VMware Spring
Affected
Spring Cloud Function 3.1.6 and earlier unsupported versions, and 3.2.2, when routing functionality accepts an expression from message headers
Fixed in
3.1.7 and 3.2.3
Weakness
CWE-917
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
29 Mar 2022

Practice this CVE, free

Classified as

References

Related CVEs

  • CVE-2021-44228critical 10.02021

    Log4Shell: JNDI lookup in logged input (CVE-2021-44228)

    Apache Log4j 2 (log4j-core) · CWE-917

    A string logged by Log4j with message lookups enabled can carry a JNDI reference, making the logger resolve an attacker-controlled name through JNDI and load a remote class. Nicknamed Log4Shell (Log4j plus shell), it scored a perfect 10.0, was reported by Chen Zhaojun of Alibaba Cloud, and became one of the most widely exploited vulnerabilities ever.

  • CVE-2017-5638critical 9.82017

    Apache Struts Jakarta parser OGNL injection (S2-045)

    Apache Struts 2 (Jakarta Multipart parser) · CWE-917

    An invalid Content-Type on a multipart upload makes the Jakarta parser throw an exception whose message carries the raw header, and Struts passes that message to an error formatter that evaluates OGNL, so a crafted expression in the header runs commands on the server.

  • CVE-2022-26134critical 9.82022

    Confluence OGNL injection in the request path

    Atlassian Confluence Server and Data Center · CWE-917

    An unauthenticated request whose URL path becomes a routing value is passed to a variable-interpolation helper that evaluates the value as an OGNL expression, giving remote code execution.

  • CVE-2021-26084critical 9.82021

    Confluence Webwork Unicode-escape OGNL injection

    Confluence Server and Data Center · CWE-917

    Several Velocity templates placed request-controlled values inside quoted OGNL expressions. OGNL decoded Java-style Unicode escapes while tokenizing, so an input containing the escape for a quote could terminate the intended string literal and append a new expression.