Specific cstrings input may not be properly validated in the Go Driver
Priority LOW 32CWE-1287Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 8 fixed, 14 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Specific cstrings input may not be properly validated in the MongoDB Go Driver when marshalling Go objects into BSON. A malicious user could use a Go object with specific string to potentially inject additional fields into marshalled documents. This issue affects all MongoDB GO Drivers prior to and including 1.5.0.
Why it matters now
EPSS 0.00935 61st percentileScored 2026-11-07
Fix Partial go.mongodb.org/mongo-driver (Go): 1.5.1Red Hat: 13 advisoriesRed Hat: 8 fixed, 14 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | MongoDB Go Driver | 1.0 – 1.5.0 | — | No fix listed | CNA |
| — | go.mongodb.org/mongo-driver (Go) | before 1.5.1 | 1.5.1 | Patch available | GHSA-f6mq-5m25-4r72 |
- MongoDB Go Driver VendorMongoDB Affected 1.0 – 1.5.0 Fixed in — No fix listed CNA
- go.mongodb.org/mongo-driver (Go) Vendor— Affected before 1.5.1 Fixed in 1.5.1 Patch available GHSA-f6mq-5m25-4r72
Remediation
- Fix · GHSA-f6mq-5m25-4r72 go.mongodb.org/mongo-driver (Go) Fixed in 1.5.1 Advisory →
Red Hat 13 advisories
- RHSA-2024:0193 Released 2024-01-17 · Red Hat rating ImportantOpenShift Container Platform 4.13.29 bug fix and security update
- Red Hat OpenShift Container Platform 4.13 openshift4/ose-aws-pod-identity-webhook-rhel8, openshift4/ose-cluster-network-operator, openshift4/ose-operator-lifecycle-manager
- RHSA-2023:6817 Released 2023-11-08 · Red Hat rating ImportantOpenShift Virtualization 4.14.0 Images security and bug fix update
- CNV 4.14 for RHEL 9 container-native-virtualization/bridge-marker-rhel9, container-native-virtualization/cluster-network-addons-operator-rhel9, container-native-virtualization/cnv-containernetworking-plugins-rhel9 +37
- RHSA-2023:5007 Released 2023-10-31 · Red Hat rating ImportantOpenShift Container Platform 4.14.0 security update
- Red Hat OpenShift Container Platform 4.14 openshift-tech-preview/metallb-rhel8, openshift4/cloud-event-proxy-rhel8, openshift4/frr-rhel9 +47
Show 10 more Red Hat advisories
- RHSA-2023:5006 Released 2023-10-31 · Red Hat rating ImportantOpenShift Container Platform 4.14.0 bug fix and security update
- Red Hat OpenShift Container Platform 4.14 openshift4/cloud-network-config-controller-rhel8, openshift4/driver-toolkit-rhel9, openshift4/egress-router-cni-rhel8 +47
- RHSA-2023:4730 Released 2023-08-30 · Red Hat rating ModerateOpenShift Container Platform 4.13.10 security update
- Red Hat OpenShift Container Platform 4.13 openshift4/dpu-network-rhel8-operator
- RHSA-2023:3645 Released 2023-06-15 · Red Hat rating ModerateRed Hat OpenShift Service Mesh 2.2.7 security update
- RHOSSM 2.2 for RHEL 8 openshift-service-mesh/prometheus-rhel8
- RHSA-2023:1328 Released 2023-05-18 · Red Hat rating ModerateOpenShift Container Platform 4.13.0 security update
- Red Hat OpenShift Container Platform 4.13 openshift4/dpu-network-rhel8-operator, openshift4/metallb-rhel8-operator, openshift4/ose-aws-efs-csi-driver-container-rhel8 +17
- RHSA-2023:1326 Released 2023-05-17 · Red Hat rating ImportantOpenShift Container Platform 4.13.0 security update
- Red Hat OpenShift Container Platform 4.13 openshift4/cloud-network-config-controller-rhel8, openshift4/egress-router-cni-rhel8, openshift4/kubevirt-csi-driver-rhel8 +47
- RHSA-2023:1656 Released 2023-04-12 · Red Hat rating ModerateOpenShift Container Platform 4.10.56 security update
- Red Hat OpenShift Container Platform 4.10 openshift4/ose-csi-driver-manila-rhel8-operator
- RHSA-2023:1525 Released 2023-04-05 · Red Hat rating ModerateOpenShift Container Platform 4.9.59 security update
- Red Hat OpenShift Container Platform 4.9 openshift4/ose-csi-driver-nfs-rhel8
- RHSA-2023:1504 Released 2023-04-04 · Red Hat rating ModerateOpenShift Container Platform 4.11.34 bug fix and security update
- Red Hat OpenShift Container Platform 4.11 openshift4/cloud-network-config-controller-rhel8, openshift4/driver-toolkit-rhel8, openshift4/egress-router-cni-rhel8 +47
- RHSA-2023:1392 Released 2023-03-29 · Red Hat rating ModerateOpenShift Container Platform 4.10.55 security update
- Red Hat OpenShift Container Platform 4.10 openshift4/ose-csi-driver-nfs-rhel8
- RHSA-2023:1409 Released 2023-03-27 · Red Hat rating ModerateOpenShift Container Platform 4.12.9 security update
- Red Hat OpenShift Container Platform 4.12 openshift4/ose-csi-driver-manila-rhel8-operator, openshift4/ose-multus-cni
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Virtualization | Affected | No fix yet |
| OpenShift Developer Tools and Services | Affected | No fix planned: Will not fix |
| OpenShift Serverless | Affected | No fix planned: Will not fix |
| OpenShift Service Mesh 2 | Affected | No fix yet |
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform Assisted Installer 1 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Data Science (RHODS) | Affected | No fix planned: Will not fix |
| Red Hat OpenShift GitOps | Affected | No fix yet |
| Red Hat OpenShift Virtualization 4 | Affected | No fix yet |
| Red Hat Openshift Container Storage 4 | Affected | No fix planned: Out of support scope |
| Red Hat Openshift Data Foundation 4 | Affected | No fix planned: Will not fix |
| Red Hat Quay 3 | Affected | No fix planned: Will not fix |
| cert-manager Operator for Red Hat OpenShift | Affected | No fix yet |
| CNV 4.14 for RHEL 9 | Fixed | RHSA-2023:6817 |
| RHOSSM 2.2 for RHEL 8 | Fixed | RHSA-2023:3645 |
| Red Hat OpenShift Container Platform 4.10 | Fixed | RHSA-2023:1392, RHSA-2023:1656 |
| Red Hat OpenShift Container Platform 4.11 | Fixed | RHSA-2023:1504 |
| Red Hat OpenShift Container Platform 4.12 | Fixed | RHSA-2023:1409 |
| Red Hat OpenShift Container Platform 4.13 | Fixed | RHSA-2023:1326, RHSA-2023:1328, RHSA-2023:4730, RHSA-2024:0193 |
| Red Hat OpenShift Container Platform 4.14 | Fixed | RHSA-2023:5006, RHSA-2023:5007 |
| Red Hat OpenShift Container Platform 4.9 | Fixed | RHSA-2023:1525 |
Not affected: 25 products
- CNV 4.14 for RHEL 9
- Cost Management Metrics Operator
- Custom Metric Autoscaler operator for Red Hat Openshift
- Logging Subsystem for Red Hat OpenShift
- Migration Toolkit for Containers
- Migration Toolkit for Virtualization
- OpenShift API for Data Protection
- OpenShift Secondary Scheduler Operator
- OpenShift Serverless
- RHOSSM 2.2 for RHEL 8
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Advanced Cluster Security 3
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 4.10
- Red Hat OpenShift Container Platform 4.11
- Red Hat OpenShift Container Platform 4.12
- Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.14
- Red Hat OpenShift Container Platform 4.9
- Red Hat OpenShift Container Platform Assisted Installer 1
- Red Hat OpenShift GitOps
- Red Hat OpenShift distributed tracing 2
- Red Hat OpenStack Platform 16.2
- Red Hat Openshift Data Foundation 4
- Red Hat Quay 3
Timeline
- 2026-10-02 Threatist record created from CVE-2021-20329
- 2026-10-03 Alias added: GHSA-f6mq-5m25-4r72
References
Advisory 2
More MongoDB Go Driver vulnerabilities
- TI-2026-69717 Denial of service in MongoDB Go Driver via malformed BSON array CVSS 4.0HIGH 8.2
- TI-2026-69716 Integer overflow in MongoDB Go Driver BSON handling causes panic CVSS 4.0HIGH 8.2
- TI-2026-56242 Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver CVSS 4.0HIGH 7.1
- TI-2026-60056 GridFS data deletion via query-operator injection in file IDs in the MongoDB Go Driver CVSS 4.0MEDIUM 6.1
Sources
- CVE-2021-20329 · CVE Program
- CVE-2021-20329 · NVD
- FIRST EPSS
- GHSA-f6mq-5m25-4r72 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-20329 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences