CVE-2022-22980Vmware Spring Data Mongodb
Critical 9.8 No auth needed
Follow: this CVE · Vmware · Vmware Spring Data Mongodb We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 8.5% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Jun 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-917
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Spring Data Mongodb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework.data:spring-data-mongodb |
≥ 3.4.0 < 3.4.1 |
3.4.1 |
— |
| Maven | org.springframework.data:spring-data-mongodb |
< 3.3.5 |
3.3.5 |
— |
Per OSV / GitHub Advisories (GHSA-w24x-87mr-4r23). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vmware | spring_data_mongodb | ≤ 3.3.4 |
| vmware | spring_data_mongodb | 3.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- tanzu.vmware.com Mitigation Vendor Advisory