CVE-2021-20333: Server log entry spoofing via newline injection
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.
Other sources
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; MongoDB Server v4.2 versions prior to 4.2.10;
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2021-20333?
CVE-2021-20333 is a vulnerability in MongoDB Server that allows for the generation of artificial log entries or log entries to be split when specially crafted commands are sent.
Which versions of MongoDB Server are affected by CVE-2021-20333?
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 are affected.
What is the severity of CVE-2021-20333?
CVE-2021-20333 has a severity rating of 5.3, which is considered medium.
How can I fix CVE-2021-20333?
To fix CVE-2021-20333, update MongoDB Server to v3.6.20, v4.0.21, or v4.2.10 or later versions.
Where can I find more information about CVE-2021-20333?
You can find more information about CVE-2021-20333 in the MongoDB Jira issue: SERVER-50605.