hygieia / hygieia-codequality-sonar-collector

Hygieia Collector for Sonar versions 5.x to 8.x

Home Page:https://github.com/Hygieia/Hygieia/blob/gh-pages/pages/hygieia/collectors/build/sonar.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2022-22980 (High) detected in spring-data-mongodb-1.10.23.RELEASE.jar - autoclosed

mend-bolt-for-github opened this issue · comments

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:

  • 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: 8f2ac01b289ab28bef3caa4bde830c87e7707967

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


Step up your Open Source Security Game with Mend here

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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