rishjaiswal / java-automation-framework

Testing Framework Created from Scratch Based on Java using Maven and TestNG
MIT License
1 stars 1 forks source link

CVE-2021-20328 (Medium) detected in mongodb-driver-3.12.0.jar #14

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-20328 - Medium Severity Vulnerability

Vulnerable Library - mongodb-driver-3.12.0.jar

The MongoDB Driver uber-artifact that combines mongodb-driver-sync and the legacy driver

Library home page: http://www.mongodb.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/mongodb/mongodb-driver/3.12.0/mongodb-driver-3.12.0.jar

Dependency Hierarchy: - extentreports-4.1.4.jar (Root Library) - :x: **mongodb-driver-3.12.0.jar** (Vulnerable Library)

Found in HEAD commit: 49bc97d287f40c56cedf968f62c42374c32e123c

Found in base branch: master

Vulnerability Details

Specific versions of the Java driver that support client-side field level encryption (CSFLE) fail to perform correct host name verification on the KMS server’s certificate. This vulnerability in combination with a privileged network position active MITM attack could result in interception of traffic between the Java driver and the KMS service rendering Field Level Encryption ineffective. This issue was discovered during internal testing and affects all versions of the Java driver that support CSFLE. The Java async, Scala, and reactive streams drivers are not impacted. This vulnerability does not impact driver traffic payloads with CSFLE-supported key services originating from applications residing inside the AWS, GCP, and Azure network fabrics due to compensating controls in these environments. This issue does not impact driver workloads that don’t use Field Level Encryption.

Publish Date: 2021-02-25

URL: CVE-2021-20328

CVSS 3 Score Details (6.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Adjacent - Attack Complexity: High - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-rghw-6px2-fgwc

Release Date: 2021-02-25

Fix Resolution (org.mongodb:mongodb-driver): 3.12.8

Direct dependency fix Resolution (com.aventstack:extentreports): 5.0.0


Step up your Open Source Security Game with Mend here