Skip to content

CVE-2020-7924 Specific command line parameter might result in accepting invalid certificate

MediumCVSS 6.5 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
MongoDB mongomirror < 0.6.0; >= 0.6.0 0.6.0 Partially fixed
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, 4.2.11, 100.2.0 Fixed
MongoDB Database Tools >= 3.6.5, < 3.6.21; >= 4.0.0, < 4.0.21; >= 4.2.0, < 4.2.11; >= 100.0.0, < 100.2.0 3.6.21, 4.0.21, 4.2.11, 100.2.0 Fixed
MongoDB github.com/mongodb/mongo-tools(Go) < 0.0.0-20200819165540-8c1800b51550; >= 100.0.0, < 100.2.0 0.0.0-20200819165540-8c1800b51550, 100.2.0 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB github.com/mongodb/mongo-tools(Go) >= 100.0.0, < 100.2.0 100.2.0
MongoDB github.com/mongodb/mongo-tools(Go) < 0.0.0-20200819165540-8c1800b51550 0.0.0-20200819165540-8c1800b51550
MongoDB Database Tools >= 3.6.5, < 3.6.21 3.6.21
MongoDB Database Tools >= 4.0.0, < 4.0.21 4.0.21
MongoDB Database Tools >= 4.2.0, < 4.2.11 4.2.11
MongoDB Database Tools >= 100.0.0, < 100.2.0 100.2.0
MongoDB mongomirror < 0.6.0 0.6.0
MongoDB Database Tools >= 3.6.5, <= 3.6.21 No fix listed
MongoDB Database Tools >= 4.0, < 4.0.21 4.0.21
MongoDB Database Tools >= 4.2, < 4.2.11 4.2.11
MongoDB Database Tools >= 100, < 100.2.0 100.2.0
MongoDB mongomirror >= 0.6.0 No fix listed

References