GHSA-p9rv-qgqw-jx2w

Suggest an improvement
Source
https://github.com/advisories/GHSA-p9rv-qgqw-jx2w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p9rv-qgqw-jx2w/GHSA-p9rv-qgqw-jx2w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p9rv-qgqw-jx2w
Aliases
Published
2022-05-24T19:02:24Z
Modified
2024-02-16T08:03:22Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
MongoDB C# Driver Risk of Exposing Authentication Data via Command Listener
Details

Specific versions of the MongoDB C# Driver 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 commands such as "saslStart", "saslContinue", "isMaster", "createUser", and "updateUser" are executed. Without due care, an application may inadvertently expose this authenticated-related 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 2.12 <= 2.12.1.

Database specific
{
    "cwe_ids":  [
        "CWE-200"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-12-20T20:26:56Z",
    "nvd_published_at":  "2021-05-13T08:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

NuGet / mongodb.driver

Package

Name
mongodb.driver
View open source insights on deps.dev
Purl
pkg:nuget/mongodb.driver

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.11.0
Fixed
2.12.2

Affected versions

2.*
2.11.0
2.11.1
2.11.2
2.11.3
2.11.4
2.11.5
2.11.6
2.12.0-beta1
2.12.0
2.12.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p9rv-qgqw-jx2w/GHSA-p9rv-qgqw-jx2w.json"