CVE-2021-20333Mongodb
Medium 5.3 No auth needed
Follow: this CVE · Mongodb · Mongodb We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Jul 23, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mongodb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mongodb | mongodb | ≥ 3.6.0 < 3.6.20 |
| mongodb | mongodb | ≥ 4.0.0 < 4.0.21 |
| mongodb | mongodb | ≥ 4.2.0 < 4.2.10 |
Official sources
References
Links published by the sources. Open them with care.
- jira.mongodb.org Exploit Patch Vendor Advisory