Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
- Snyk ID SNYK-DOTNET-MONGODBDRIVER-1292153
- published 13 May 2021
- disclosed 13 May 2021
- credit Unknown
How to fix?
MongoDB.Driver to version 2.12.2 or higher.
MongoDB.Driver is an Official .NET driver for MongoDB.
Affected versions of this package are vulnerable to Information Exposure. 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
updateUser are executed.
Without due care, an application may inadvertently expose this authenticated-related information, e.g., by writing it to a log file.
Note: This issue only arises if an application enables the command listener feature (this is not enabled by default).