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

- Severity: Medium 4.2 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2021-04-12T16:25:11.147Z
- Modified: 2026-06-17T03:25:38.387Z
- Also known as: GHSA-6cwm-wm82-hgrw, GO-2024-2550
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

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

(As written by CVE List.)

## Affected

- MongoDB Inc. MongoDB Database Tools: from 3.6.5 up to 3.6.21; from 4.0 before 4.0.21; from 4.2 before 4.2.11; from 100 before 100.2.0
- MongoDB Inc. Mongomirror: from 0.6.0 before 0*
- github.com/mongodb/mongo-tools (Go): from 100.0.0 before 100.2.0; before 0.0.0-20200819165540-8c1800b51550
- 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
- mongodb mongomirror: before 0.6.0

## Every score

- mongodb: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://jira.mongodb.org/browse/TOOLS-2587> (issue-tracking, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7924> (advisory)
- <https://github.com/mongodb/mongo-tools/commit/8c1800b5155084f954a39a1f2f259efac3bb86de> (fix, web)
- <https://github.com/advisories/GHSA-6cwm-wm82-hgrw> (advisory)
- <https://github.com/mongodb/mongo-tools> (package)

## Sources

- CVE List: [CVE-2020-7924](https://www.cve.org/CVERecord?id=CVE-2020-7924), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-6cwm-wm82-hgrw](https://github.com/advisories/GHSA-6cwm-wm82-hgrw), CC-BY-4.0, modified 2024-07-03
- Go Vulnerability Database: [GO-2024-2550](https://pkg.go.dev/vuln/GO-2024-2550), CC-BY-4.0, modified 2024-07-09
- NVD: [CVE-2020-7924](https://nvd.nist.gov/vuln/detail/CVE-2020-7924), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7924 · Whole record: https://cve.day/CVE-2020-7924.json · Rebuilt by cve.day 2026-11-25T22:57:57.767Z
