Live threats

All CVEs / Vmware

CVE-2022-22980Vmware Spring Data Mongodb

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spring Data Mongodb.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
vmwarespring_data_mongodb≤ 3.3.4
vmwarespring_data_mongodb3.4.0

Official sources

References

Links published by the sources. Open them with care.