What’s Vulnerable › Vulnerabilities

CVE-2021-20333: Server log entry spoofing via newline injection

Description

Sending specially crafted commands to a MongoDB Server may result in artificial log entries being generated or for log entries to be split. This issue affects MongoDB Server v3.6 versions prior to 3.6.20; MongoDB Server v4.0 versions prior to 4.0.21 and MongoDB Server v4.2 versions prior to 4.2.10.

Affected products

How to fix

Upgrade to a fixed version: MongoDB 3.6.20, 4.0.21, 4.2.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-20333 or the next vulnerability affects your stack