CVE-2022-22980
SpEL Injection in Spring Data MongoDB
9.0
CRITICAL
CVSS 3.1
EPSS 16.9%
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.
How to fix CVE-2022-22980
To remediate CVE-2022-22980, upgrade the affected package to a fixed version below.
- Maven/org.springframework.data:spring-data-mongodb—upgrade to 3.4.1 or later
Is CVE-2022-22980 being exploited?
Moderate — EPSS is 16.9%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- >= 3.4.0, < 3.4.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |