CVE-2021-20333
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.
Published Updated Sources: cvelistV5, mongodb
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
5.3
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.3 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-117
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1070Indicator Removal on Host
- T1562.002Impair Defenses: Disable Windows Event Logging
- T1562.003Impair Defenses: Impair Command History Logging
References
1 on the record
- jira.mongodb.org/browse/SERVER-50605
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-14847 Zlib compressed protocol header length confusion may allow memory readCVSS 7.5 · CISA KEV
- CVE-2026-118383 Pre-authentication use-after-free in MongoDB Server replica set primary catch-upCVSS 10.0
- CVE-2026-120824 Post-authentication use-after-free in MongoDB Server time-series bucket validationCVSS 8.8
- CVE-2026-18692 Use-After-Free in MongoDB Timeseries Bucket Handling Leads to Denial of Service and Potential Remote Code ExecutionCVSS 8.8
- CVE-2026-18691 Improper Authentication in MongoDB Intra-Cluster Connections Allows Credential ExposureCVSS 8.8
- CVE-2026-8053 FlatBSON Duplicate Field Index DriftCVSS 8.8
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.