GHSA-vxvm-qww3-2fh7

Suggest an improvement
Source
https://github.com/advisories/GHSA-vxvm-qww3-2fh7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-vxvm-qww3-2fh7/GHSA-vxvm-qww3-2fh7.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-vxvm-qww3-2fh7
Aliases
Published
2023-08-29T18:31:53Z
Modified
2024-02-18T05:31:29.835416Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
MongoDB Driver may publish events containing authentication-related data
Details

Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.

Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default).

This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).

Database specific
{
    "nvd_published_at": "2023-08-29T16:15:08Z",
    "cwe_ids": [
        "CWE-200",
        "CWE-532"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-08-30T21:20:44Z"
}
References

Affected packages

Packagist / mongodb/mongodb

Package

Name
mongodb/mongodb
Purl
pkg:composer/mongodb/mongodb

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.0.0
Fixed
1.9.2

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0-alpha1
1.1.0
1.1.1
1.1.2
1.2.0-alpha1
1.2.0
1.3.0
1.3.1
1.3.2
1.4.0
1.4.1
1.4.2
1.4.3
1.5.0
1.5.1
1.5.2
1.6.0
1.6.1
1.7.0-beta1
1.7.0-beta2
1.7.0-rc1
1.7.0
1.7.1
1.7.2
1.8.0-RC1
1.8.0
1.9.0-alpha1
1.9.0

npm / mongodb

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.6.0
Fixed
3.6.10

npm / mongodb

Package

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.17.0

npm / mongodb

Package

Affected ranges

Type
SEMVER
Events
Introduced
5.0.0
Fixed
5.8.0

SwiftURL / github.com/mongodb/mongo-swift-driver

Package

Name
github.com/mongodb/mongo-swift-driver
Purl
pkg:swift/github.com/mongodb/mongo-swift-driver

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0
Fixed
1.1.1