CVE-2021-20333

published 23 Jul 2021 · updated 17 Sep 2024

Server log entry spoofing via newline injection

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Server 3.6.20, Server 4.0.21 and Server 4.2.10.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=3.6 <3.6.20, >=4.0 <4.0.21, >=4.2 <4.2.103.6.20, 4.0.21, 4.2.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-20333 severity on Zeptric[![CVE-2021-20333](https://zeptric.io/badge/cve/CVE-2021-20333.svg)](https://zeptric.io/cve/CVE-2021-20333)