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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2022-22980 - High Severity Vulnerability
Vulnerable Library - spring-data-mongodb-2.1.1.RELEASE.jar
MongoDB support for Spring Data
Library home page: http://projects.spring.io/spring-data-mongodb
Path to dependency file: /pom.xml
Path to vulnerable library: /tory/org/springframework/data/spring-data-mongodb/2.1.1.RELEASE/spring-data-mongodb-2.1.1.RELEASE.jar
Dependency Hierarchy: - :x: **spring-data-mongodb-2.1.1.RELEASE.jar** (Vulnerable Library)
Found in HEAD commit: 1f36aeb28d3932e3a7ff2c6a02d21bb2091e47f9
Found in base branch: dev
Vulnerability Details
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.
Publish Date: 2022-06-23
URL: CVE-2022-22980
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://tanzu.vmware.com/security/cve-2022-22980
Release Date: 2022-06-23
Fix Resolution: 3.2.12
:rescue_worker_helmet: Automatic Remediation is available for this issue