Live threats

All CVEs / Mongodb

CVE-2021-20333Mongodb

Medium 5.3 No auth needed

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
Weakness (CWE)
CWE-117, CWE-116
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mongodb.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
mongodbmongodb≥ 3.6.0 < 3.6.20
mongodbmongodb≥ 4.0.0 < 4.0.21
mongodbmongodb≥ 4.2.0 < 4.2.10

Official sources

References

Links published by the sources. Open them with care.