Spring4Shell and CVE-2022-22963: Affected Versions, Exploitation Conditions and Fixes

· Original article ↗

Summary

The article details affected Spring Framework and Spring Cloud Function versions, exploitation requirements, available updates and workarounds, and Wiz’s findings on CVE-2022-22965 prevalence in cloud environments.

Key points

  • CVE-2022-22965 affects Spring Framework versions earlier than 5.2.19 and 5.3.0–5.3.17; the article recommends updating to 5.2.20 or 5.3.18, or applying Spring’s workarounds.
  • CVE-2022-22963 affects Spring Cloud Function versions earlier than 3.1.6 and 3.2.0–3.2.2; the article recommends updating to 3.1.7 or 3.2.3.
  • Both vulnerabilities can allow remote code execution through specially crafted HTTP POST requests, but exploitation requires an exposed application with an open HTTP port.
  • The article says known Spring4Shell exploitation also required JDK 9 or higher, particular Spring dependencies and data-binding parameters, and, for known methods, WAR packaging with specified web containers. It notes these prerequisites could change as new exploits emerge.
  • CVE-2022-22963 requires routing functionality, and the article reports that proof-of-concept exploits were available; it expects practical impact to be limited partly because the library was uncommon in cloud environments and often used on short-lived serverless resources.
  • Wiz reported that about 63% of cloud environments it examined were affected by CVE-2022-22965; among affected resources, about 75% were virtual machines and 25% containers. The article cautions that many were not exploitable by then-known methods.

Article Details

Vulnerability Types
  • Remote code execution via data binding
  • Remote code execution via a malicious SpEL expression
Severity
Critical
Affected Versions
  • Spring Framework versions earlier than 5.2.19
  • Spring Framework versions 5.3.0 to 5.3.17
  • Spring Cloud Function versions earlier than 3.1.6
  • Spring Cloud Function versions 3.2.0 to 3.2.2
Exploitation Status
unknown
Exploit Availability
public_poc
Patch Status
available

CVE

Vendors

Products

Related Articles