Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

CVE-2022-22980 (Critical) detected in spring-data-mongodb-1.10.23.RELEASE.jar #54

Open
mend-bolt-for-github bot opened this issue Jul 13, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Jul 13, 2022

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: 2ef267dd9502ffb9183d37f2940196c961f76097

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.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

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jul 13, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2022-22980 (High) detected in spring-data-mongodb-1.10.23.RELEASE.jar CVE-2022-22980 (Critical) detected in spring-data-mongodb-1.10.23.RELEASE.jar Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants