CVE-2021-20333

Server log entry spoofing via newline injection

State
Published
Severity
5.3 Medium
Published
Jul 23, 2021
Updated
Sep 17, 2024
Reserved
Dec 17, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Nmongodb

Weaknesses

  • CWE-117 Improper Output Neutralization for Logs

Affected Products

ProductVersions
MongoDB ServerMongoDB Inc.
  • 3.6 to before 3.6.20Affected
  • 4.0 to before 4.0.21Affected
  • 4.2 to before 4.2.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.