CVE-2022-22980 (Critical) detected in spring-data-mongodb-1.10.23.RELEASE.jar
Opened this issue · 0 comments
CVE-2022-22980 - Critical 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:
- spring-boot-starter-data-mongodb-1.5.22.RELEASE.jar (Root Library)
- ❌ spring-data-mongodb-1.10.23.RELEASE.jar (Vulnerable Library)
Found in HEAD commit: a4c7eb2860f348a25abfeda41c6fa93ee1b8a2b6
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
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.2.12
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-data-mongodb): 2.5.15
Step up your Open Source Security Game with Mend here