CVE-2021-20333
published medium CVSS 3.1 · 5.3Server log entry spoofing via newline injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc. | — | MongoDB Server3.6 to < 3.6.20 · 4.0 to < 4.0.21 · 4.2 to < 4.2.10 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc. | MongoDB Server | 3.6 to < 3.6.20 (affected · custom)4.0 to < 4.0.21 (affected · custom)4.2 to < 4.2.10 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-117 CWE-117 Improper Output Neutralization for Logs
References
1Provider assertions
2mongodb · cna
Server log entry spoofing via newline injection
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3445a2e2a32062f2a1322e2e364c9deb8ca401fd1e3d34d82d8d4e8cf3253ac3
- Ingested
- 23 Sep 2026, 07:52:16 UTC
- Source record
- Official CVE record