Skip to content
OpenAdvisories
Medium · 4.2 CVE-2020-7924 EUVD-2022-2775GHSA-6cwm-wm82-hgrwGO-2024-2550

Specific command line parameter might result in accepting invalid certificate

Published Apr 12, 2021 · Updated Sep 16, 2024 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Database Tools 3.6.5 – ≤ 3.6.21, 4.0 – < 4.0.21, 4.2 – < 4.2.11, 100 – < 100.2.0 4.0.21
MongoDB Mongomirror 0.6.0 – < 0* 0*

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mongodb/mongo-tools >= 100.0.0, < 100.2.0 100.2.0 GHSA-6cwm-wm82-hgrw
Go github.com/mongodb/mongo-tools < 0.0.0-20200819165540-8c1800b51550 0.0.0-20200819165540-8c1800b51550 GO-2024-2550

Advisories 2

References