Live threats

All CVEs / Mongodb

CVE-2020-7924Mongodb Database Tools

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.7%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Apr 12, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Database Tools.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mongodb/mongo-tools ≥ 100.0.0 < 100.2.0 100.2.0 go get github.com/mongodb/mongo-tools@v100.2.0
Go github.com/mongodb/mongo-tools < 0.0.0-20200819165540-8c1800b51550 0.0.0-20200819165540-8c1800b51550 go get github.com/mongodb/mongo-tools@v0.0.0-20200819165540-8c1800b51550

Per OSV / GitHub Advisories (GHSA-6cwm-wm82-hgrw, GO-2024-2550). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mongodbdatabase_tools≥ 3.6.5 < 3.6.21
mongodbdatabase_tools≥ 4.0.0 < 4.0.21
mongodbdatabase_tools≥ 4.2.0 < 4.2.11
mongodbdatabase_tools≥ 100.0.0 < 100.2.0
mongodbmongomirror< 0.6.0

Official sources

References

Links published by the sources. Open them with care.