Vulnerability · Published Apr 12, 2021 · Assigned by mongodb
CVE-2020-7924Specific command line parameter might result in accepting invalid certificate
Medium 4.2
In plain English
A medium-severity improper certificate validation in MongoDB Database Tools from MongoDB Inc.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mongodb/mongo-tools | 100.2.0 | GHSA-6cwm-wm82-hgrw |
| Go | github.com/mongodb/mongo-tools | 0.0.0-20200819165540-8c1800b51550 | GO-2024-2550 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc. | MongoDB Database Tools | 3.6.5 – through 3.6.214.0 – before 4.0.214.2 – before 4.2.11100 – before 100.2.0 |
| MongoDB Inc. | Mongomirror | 0.6.0 – before 0* |
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
References
- https://jira.mongodb.org/browse/TOOLS-2587 x_refsource_MISC