Skip to content

MongoDB Tools Improper Certificate Validation vulnerability

Moderate severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Feb 13, 2024

Package

gomod github.com/mongodb/mongo-tools (Go)

Affected versions

>= 100.0.0, < 100.2.0

Patched versions

100.2.0

Description

Usage of specific command line parameter in MongoDB Tools which was originally intended to just skip hostname checks, may result in MongoDB skipping all certificate validation. This may result in accepting invalid certificates.This issue affects: MongoDB Inc. MongoDB Database Tools 3.6 versions later than 3.6.5; 3.6 versions prior to 3.6.21; 4.0 versions prior to 4.0.21; 4.2 versions prior to 4.2.11; 100 versions prior to 100.2.0. MongoDB Inc. Mongomirror 0 versions later than 0.6.0.

References

Published by the National Vulnerability Database Apr 12, 2021
Published to the GitHub Advisory Database May 24, 2022
Last updated Feb 13, 2024
Reviewed Feb 13, 2024

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2020-7924

GHSA ID

GHSA-6cwm-wm82-hgrw

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.