Security mailing lists by PureSourceCode

CVE-2022-22980

CRITICAL 9.8CVSS 3.1

SpEL Injection in Spring Data MongoDB

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.

Published
23 Jun 2022
Last modified
17 Jun 2026
Assigned by
security@vmware.com
NVD status
Modified
Weakness
CWE-917
Also known as
GHSA-w24x-87mr-4r23
Sources
NVDJSONOSV GHSA-w24x-87mr-4r23JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vmware spring_data_mongodb
cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*
<= 3.3.4
NVD vmware spring_data_mongodb
cpe:2.3:a:vmware:spring_data_mongodb:3.4.0:*:*:*:*:*:*:*
= 3.4.0
OSV Maven org.springframework.data:spring-data-mongodb >= 3.4.0, < 3.4.1 3.4.1
OSV Maven org.springframework.data:spring-data-mongodb < 3.3.5 3.3.5

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Jun 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.