RCE in VMware Spring Data MongoDB
CVE-2022-22980
A Spring Data MongoDB application is vulnerable to SpEL Injection when using @Query or @Aggregation-annotated query methods with SpEL expressions that contain query parameter placeholders for value binding if the input is not sanitized.
Vulnerability class: Log4Shell (CVE-2021-44228)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.178, 97.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- VMware Spring Data MongoDB — versions 3.4.0
- Spring Data MongoDB — versions 3.4.0, 3.3.0 to 3.3.4 and Older
Weakness classification (CWE)
Public exploits and proof-of-concept code
8 public repositories with exploit or proof-of-concept code for this CVE:
- trganda/CVE-2022-22980 (32 stars, last pushed 2022-06-23): Poc of CVE-2022-22980
- kuron3k0/Spring-Data-Mongodb-Example (14 stars, last pushed 2022-07-14): CVE-2022-22980环境
- li8u99/Spring-Data-Mongodb-Demo (11 stars, last pushed 2022-06-22): CVE-2022-22980环境
- jweny/cve-2022-22980 (10 stars, last pushed 2022-06-22): CVE-2022-22980 exp && 靶场
- Vulnmachines/Spring_cve-2022-22980 (7 stars, last pushed 2022-07-13): spring data mongodb remote code execution | cve-2022-22980 poc
- murataydemir/CVE-2022-22980 (5 stars, last pushed 2022-06-28): [CVE-2022-22980] Spring Data MongoDB SpEL Expression Injection
- Eliasdekiniweek/CVE-2022-22980 (1 star, last pushed 2026-02-18): Exploitation de CVE-2022-22980
- jweny/cve-2022-22980-exp
Also mentioned in 21 other repositories (ARPSyndicate/cvemon, ax1sX/Automation-in-Java-Security, ax1sX/Codeql-In-Java-Security, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- tanzu.vmware.com/security/cve-2022-22980 (Mitigation, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.