GO-2024-2550

Source
https://pkg.go.dev/vuln/GO-2024-2550
Import Source
https://vuln.go.dev/ID/GO-2024-2550.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2024-2550
Aliases
Published
2024-06-28T15:28:53Z
Modified
2024-07-09T19:33:56Z
Summary
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.

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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2024-2550"
}
References

Affected packages

Go / github.com/mongodb/mongo-tools

Package

Name
github.com/mongodb/mongo-tools
View open source insights on deps.dev
Purl
pkg:golang/github.com/mongodb/mongo-tools

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20200819165540-8c1800b51550

Ecosystem specific

{
    "custom_ranges": [
        {
            "events": [
                {
                    "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"
                }
            ],
            "type": "ECOSYSTEM"
        }
    ]
}