CVE-2022-22980

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductVmware Spring Data Mongodb
PublishedJun 23, 2022
First seenJun 23, 2022

How to fix

Update
  • org.springframework.data:spring-data-mongodb3.4.1, 3.3.5 or later

Affected products

ProductAffected versionsFixed in
vmware spring_data_mongodbv ≤ 3.3.4, 3.4.0—
org.springframework.data:spring-data-mongodbMaven3.4.0 ≤ v < 3.4.1, v < 3.3.53.4.1, 3.3.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.