Vulnerabilities · 2021 · Mongodb
CVE-2021-20331
Mongodb C\# Driver vulnerability
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 v2.12 versions prior to and including 2.12.1.
Affected products
C\# Driver. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mongodb C\# Driver runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Mongodb products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.