title: Specific command line parameter might result in accepting invalid certificate
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.
problem types: CWE-295 Improper Certificate Validation
affected:
{
defaultStatus: unaffected
product: MongoDB Database Tools
vendor: MongoDB Inc.
versions:
lessThanOrEqual: 3.6.21, status: affected, version: 3.6.5, versionType: custom
lessThan: 4.0.21, status: affected, version: 4.0, versionType: custom
lessThan: 4.2.11, status: affected, version: 4.2, versionType: custom
lessThan: 100.2.0, status: affected, version: 100, versionType: custom
}
{
defaultStatus: unaffected
product: Mongomirror
vendor: MongoDB Inc.
versions:
lessThan: 0*, status: affected, version: 0.6.0, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.2
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL