From b9034fab58e4ca2c559f786e90fae8c34ea66836 Mon Sep 17 00:00:00 2001 From: Tatiana Bradley Date: Tue, 2 Jul 2024 16:43:05 -0400 Subject: [PATCH] data/reports: update GO-2024-2550 - data/reports/GO-2024-2550.yaml Updates golang/vulndb#2550 Updates golang/vulndb#2954 Change-Id: Ife393cf690a08c1b1ab9276cf4c7eb199a6ce49c Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/596180 Reviewed-by: Tim King LUCI-TryBot-Result: Go LUCI --- data/osv/GO-2024-2550.json | 11 +++++------ data/reports/GO-2024-2550.yaml | 34 ++++++++++++++++++++++++++++------ 2 files changed, 33 insertions(+), 12 deletions(-) diff --git a/data/osv/GO-2024-2550.json b/data/osv/GO-2024-2550.json index dd7bef4f..4f81c35a 100644 --- a/data/osv/GO-2024-2550.json +++ b/data/osv/GO-2024-2550.json @@ -8,7 +8,7 @@ "GHSA-6cwm-wm82-hgrw" ], "summary": "MongoDB Tools Improper Certificate Validation vulnerability in github.com/mongodb/mongo-tools", - "details": "MongoDB Tools Improper Certificate Validation vulnerability in github.com/mongodb/mongo-tools", + "details": "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.\n\nNOTE: this module uses its own versioning scheme that is not fully compatible with standard Go module versioning, so the affected versions in this report may differ from the versions listed in other advisories.\n\nAccording to the advisory, the affected versions are as follows: 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": [ { "package": { @@ -21,6 +21,9 @@ "events": [ { "introduced": "0" + }, + { + "fixed": "0.0.0-20200819165540-8c1800b51550" } ] } @@ -33,10 +36,6 @@ "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-6cwm-wm82-hgrw" }, - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7924" - }, { "type": "FIX", "url": "https://github.com/mongodb/mongo-tools/commit/8c1800b5155084f954a39a1f2f259efac3bb86de" @@ -48,6 +47,6 @@ ], "database_specific": { "url": "https://pkg.go.dev/vuln/GO-2024-2550", - "review_status": "UNREVIEWED" + "review_status": "REVIEWED" } } \ No newline at end of file diff --git a/data/reports/GO-2024-2550.yaml b/data/reports/GO-2024-2550.yaml index 34031db2..b9cfc17c 100644 --- a/data/reports/GO-2024-2550.yaml +++ b/data/reports/GO-2024-2550.yaml @@ -1,22 +1,44 @@ id: GO-2024-2550 modules: - module: github.com/mongodb/mongo-tools + versions: + - fixed: 0.0.0-20200819165540-8c1800b51550 non_go_versions: + - introduced: 3.6.5 + - fixed: 3.6.21 + - introduced: 4.0.0 + - fixed: 4.0.21 + - introduced: 4.2.0 + - fixed: 4.2.11 - introduced: 100.0.0 - fixed: 100.2.0 - vulnerable_at: 0.0.0-20240614142727-3a6386047711 -summary: MongoDB Tools Improper Certificate Validation vulnerability in github.com/mongodb/mongo-tools + - fixed: 100.2.0 + vulnerable_at: 0.0.0-20200817142019-cd4a54b5540f +summary: |- + MongoDB Tools Improper Certificate Validation vulnerability in + github.com/mongodb/mongo-tools +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. + + NOTE: this module uses its own versioning scheme that is not fully + compatible with standard Go module versioning, so the affected versions in this + report may differ from the versions listed in other advisories. + + According to the advisory, the affected versions are as follows: 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. cves: - CVE-2020-7924 ghsas: - GHSA-6cwm-wm82-hgrw references: - advisory: https://github.com/advisories/GHSA-6cwm-wm82-hgrw - - advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-7924 - fix: https://github.com/mongodb/mongo-tools/commit/8c1800b5155084f954a39a1f2f259efac3bb86de - web: https://jira.mongodb.org/browse/TOOLS-2587 source: id: GHSA-6cwm-wm82-hgrw - created: 2024-06-14T11:41:26.128315-04:00 -review_status: UNREVIEWED + created: 2024-07-02T16:16:40.677572-04:00 +review_status: REVIEWED unexcluded: NOT_IMPORTABLE