Vulnerability · Published Jun 22, 2022 · Assigned by vmware
CVE-2022-22980
Critical 9.8
In plain English
A critical-severity security flaw in Spring Data MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 17.8% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)17.8%top 2.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.data:spring-data-mongodb | 3.4.1 | GHSA-w24x-87mr-4r23 |
| Maven | org.springframework.data:spring-data-mongodb | 3.3.5 | GHSA-w24x-87mr-4r23 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | Spring Data MongoDB | 3.4.0, 3.3.0 to 3.3.4 and Older |
References
- https://tanzu.vmware.com/security/cve-2022-22980 x_refsource_MISC