What’s Vulnerable › Vulnerabilities
CVE-2020-7924: Specific command line parameter might result in accepting invalid certificate
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-04-12 · updated 2026-06-17
- Weakness: CWE-295
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
- MongoDB Database Tools: from 3.6.5 before 3.6.21; from 4.0.0 before 4.0.21; from 4.2.0 before 4.2.11; from 100.0.0 before 100.2.0 — fixed in 100.2.0, 3.6.21, 4.0.21, 4.2.11
- MongoDB Inc. Mongomirror: before 0.6.0 — fixed in 0.6.0
How to fix
Upgrade to a fixed version: MongoDB Database Tools 100.2.0, 3.6.21, 4.0.21, 4.2.11; MongoDB Inc. Mongomirror 0.6.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2020-7924 or the next vulnerability affects your stack