Read the docs
TI-2021-03621 Aliases CVE-2021-20333GHSA-ghvr-mww9-3hrg

Server log entry spoofing via newline injection

Priority LOW 27CWE-117Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

EPSS 0.013 70th percentileScored 2026-11-08
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial MongoDB Server (MongoDB Inc.): 3.6.20, 4.0.21, 4.2.10Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBMongoDB Server3.6 to before 3.6.20; 4.0 to before 4.0.21; 4.2 to before 4.2.103.6.20, 4.0.21, 4.2.10Patch availableCNA
  • MongoDB Server VendorMongoDB Affected 3.6 to before 3.6.20; 4.0 to before 4.0.21; 4.2 to before 4.2.10 Fixed in 3.6.20, 4.0.21, 4.2.10 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*3.6.0 to before 3.6.20; 4.0.0 to before 4.0.21; 4.2.0 to before 4.2.10VulnerableMongoDB
  • cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* Versions 3.6.0 to before 3.6.20; 4.0.0 to before 4.0.21; 4.2.0 to before 4.2.10 Vulnerable ·MongoDB

Remediation

  • Fix · CNA MongoDB Server (MongoDB Inc.) Fixed in 3.6.20, 4.0.21, 4.2.10

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenStack Platform 10 (Newton)AffectedNo fix planned: Out of support scope
Red Hat Software CollectionsAffectedNo fix planned: Out of support scope
Not affected: 1 product
  • Red Hat Update Infrastructure 3 for Cloud Providers

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-20333
  2. 2026-10-03 Alias added: GHSA-ghvr-mww9-3hrg

References

  • TI-2025-13542 Zlib compressed protocol header length confusion may allow memory read KEVCVSS 4.0HIGH 8.7
  • TI-2013-01669 MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the… CVSS 2.0MEDIUM 6.0
  • TI-2026-56639 Uncontrolled Resource Consumption in MongoDB Sharded Cluster Router Allows Unauthenticated Denial of Service CVSS 4.0HIGH 8.7
  • TI-2026-56628 Reachable assertion in MongoDB Server CVSS 4.0HIGH 8.7
  • TI-2026-15322 Improper Input Validation in MongoDB Aggregation Framework Allows Unauthenticated Denial of Service on mongos CVSS 4.0HIGH 8.7
  • TI-2026-08537 Unbounded recursion in BSONColumn interleaved-reference causes pre-auth stack overflow CVSS 4.0HIGH 8.7
See all 187 →

Sources