5.3

CVE-2021-20333: Server log entry spoofing via newline injection

Modified
AliasesUBUNTU-CVE-2021-20333
Published 23-07-2021Last modified 17-09-2024

Vulnerability summary

CVE-2021-20333 is a medium (CVSS 5.3) Improper Output Neutralization for Logs vulnerability in mongodb inc mongodb server. EPSS estimates a 1.30% chance of exploitation in the next 30 days, higher than 71.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.30%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Timeline

  1. 23-07-2021
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.30%

Chance of exploitation in the next 30 days

Percentile

71%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.30% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (jira.mongodb.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Mongodb1 product
  • mongodb≥ 3.6.0, < 3.6.20 | ≥ 4.0.0, < 4.0.21 | ≥ 4.2.0, < 4.2.10
Mongodb inc1 product
  • mongodb server≥ 3.6, < 3.6.20 | ≥ 4.0, < 4.0.21 | ≥ 4.2, < 4.2.10
Ubuntu1 product
  • mongodbAll versions (No fix recorded)

3 vendors · 3 products

References

3 links