Skip to content
Fencer Intel
medium 4.2

CVE-2020-7924 json

Specific command line parameter might result in accepting invalid certificate

published 5y ago modified 4mo ago also GHSA-6cwm-wm82-hgrw , GO-2024-2550 , EUVD-2022-2775

cvss
4.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 54%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/mongodb/mongo-tools 0.0.0-20200819165540-8c1800b51550, 100.2.0
  • MongoDB Inc. MongoDB Database Tools 4.0.21, 4.2.11, 100.2.0

Is CVE-2020-7924 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

cisa ICSA-26-218-01 updated cvss 6.5

ABB Ability Zenon

  • ABB Ability Zenon /all IIoT services with MongoDB 4.2
    affected: mitigation

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

red hat product security vex CVE-2020-7924 updated cvss 5.1

mongodb: sslAllowInvalidHostnames bypass ssl/tls server certification validation entirely

  • Red Hat OpenStack Platform 10 (Newton) mongodb, mongodb-server
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections rh-mongodb36-mongodb, rh-mongodb36-mongodb-test, rh-mongodb36-mongodb-server, rh-mongodb36-mongodb-syspaths, rh-mongodb36-mongodb-server-syspaths
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 4.2 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:P/I:P/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
go github.com/mongodb/mongo-tools
>=100.0.0, <100.2.0
<0.0.0-20200819165540-8c1800b51550
100.2.0
0.0.0-20200819165540-8c1800b51550

Affected products

  • MongoDB Inc. MongoDB Database Tools
  • MongoDB Inc. Mongomirror

Classification

Weakness
  • CWE-295 Improper Certificate Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.