Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/data/spring-data-mongodb/1.10.23.RELEASE/spring-data-mongodb-1.10.23.RELEASE.jar
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-1.10.23.RELEASE.jar
MongoDB support for Spring Data
Library home page: https://projects.spring.io/spring-data-mongodb
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/data/spring-data-mongodb/1.10.23.RELEASE/spring-data-mongodb-1.10.23.RELEASE.jar
Dependency Hierarchy: - core-3.15.45.jar (Root Library) - spring-boot-starter-data-mongodb-1.5.22.RELEASE.jar - :x: **spring-data-mongodb-1.10.23.RELEASE.jar** (Vulnerable Library)
Found in HEAD commit: 9c627a3dee72bf43b46a7cc41b8c073efba5cfab
Found in base branch: master
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: org.springframework.data:spring-data-mongodb:3.3.5,3.4.1
Step up your Open Source Security Game with Mend here