CVSS 3.1
6.8 mediumCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NMedium (6.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.mongodb:mongodb-driver 3.11.3, 3.12.8.
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Norg.mongodb:mongodb-driver (Maven): fixed in 3.11.3, 3.12.8org.mongodb:mongodb-driver-sync (Maven): fixed in 4.0.6, 4.1.2, 4.2.1, 3.12.8, 3.11.3org.mongodb:mongo-java-driver (Maven): fixed in 3.11.3, 3.12.8org.mongodb:mongodb-driver-legacy (Maven): fixed in 4.0.6, 4.1.2, 3.11.3, 3.12.8, 4.2.1Explain CVE-2021-20328 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20328?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20328?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20328 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| MongoDB Inc. mongo-java-driver | from 3.11 through 3.11.2 |
| MongoDB Inc. mongo-java-driver | from 3.12 through 3.12.7 |
| MongoDB Inc. mongodb-driver | from 3.11 through 3.11.2 |
| MongoDB Inc. mongodb-driver | from 3.12 through 3.12.7 |
| MongoDB Inc. mongodb-driver-sync | 4.2.0 |
| MongoDB Inc. mongodb-driver-sync | from 3.11 through 3.11.2 |
| MongoDB Inc. mongodb-driver-sync | from 3.12 through 3.12.7 |
| MongoDB Inc. mongodb-driver-sync | from 4.0 through 4.0.5 |
| MongoDB Inc. mongodb-driver-sync | from 4.1 through 4.1.1 |
| MongoDB Inc. mongodb-driver-legacy | 4.2.0 |
| MongoDB Inc. mongodb-driver-legacy | from 3.11 through 3.11.2 |
| MongoDB Inc. mongodb-driver-legacy | from 3.12 through 3.12.7 |
| MongoDB Inc. mongodb-driver-legacy | from 4.0 through 4.0.5 |
| MongoDB Inc. mongodb-driver-legacy | from 4.1 through 4.1.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver | >=3.11.0 <3.11.3 | 3.11.3 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver | >=3.12.0 <3.12.8 | 3.12.8 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-sync | >=4.0.0 <4.0.6 | 4.0.6 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-sync | >=4.1.0 <4.1.2 | 4.1.2 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-sync | >=4.2.0 <4.2.1 | 4.2.1 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongo-java-driver | >=3.11.0 <3.11.3 | 3.11.3 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongo-java-driver | >=3.12.0 <3.12.8 | 3.12.8 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-legacy | >=4.0.0 <4.0.6 | 4.0.6 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-legacy | >=4.1.0 <4.1.2 | 4.1.2 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-legacy | >=3.11.0 <3.11.3 | 3.11.3 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-legacy | >=3.12.0 <3.12.8 | 3.12.8 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-sync | >=3.12.0 <3.12.8 | 3.12.8 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-sync | >=3.11.0 <3.11.3 | 3.11.3 |
| GHSA-rghw-6px2-fgwc | Maven | org.mongodb:mongodb-driver-legacy | >=4.2.0 <4.2.1 | 4.2.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | mongo-java-driver | no fix listed | UBUNTU-CVE-2021-20328 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Integration | mongodb-driver | Fixed 2021-12-02 | RHSA-2021:4918 |
| Red Hat Integration Camel Quarkus 2 | Fixed 2021-11-23 | RHSA-2021:4767 | |
| Red Hat Integration Debezium 1.4.2 | mongodb-driver | Fixed 2021-03-16 | RHSA-2021:0871 |
| A-MQ Clients 2 | mongodb-driver | Will not fix | |
| Red Hat build of Debezium 1 | mongodb-driver | Affected | |
| Red Hat Fuse 7 | mongo-java-driver | Not affected | |
| Red Hat Integration Camel Quarkus 1 | mongodb-driver | Affected | |
| Red Hat JBoss Data Virtualization 6 | mongo-java-driver | Not affected | |
| Red Hat JBoss Enterprise Application Platform 7 | mongo-java-driver | Not affected | |
| Red Hat JBoss Fuse 6 | mongo-java-driver | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-metering-presto | Not affected | |
| Red Hat Software Collections | rh-mongodb36-mongo-java-driver | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20328.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-26-218-01 | ABB Ability Zenon | 2026-07-30 | Chemical, Communications, Critical Manufacturing, Dams, Energy, Healthcare and Public Health, Information Technology, Water and Wastewater | IIoT services with MongoDB 4.2 installed on ABB Ability Zenon /all | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.