CVE-2021-20329

Specific cstrings input may not be properly validated in the Go Driver

MEDIUM
6.5
CVSS Score
Published: June 10, 2021 at 04:30 PM UTC
Updated: June 17, 2026 at 03:33 AM UTC
1 product affected across 1 vendorGO Driver

Using MongoDB Go Driver by MongoDB Inc.?

Get instant alerts when new vulnerabilities affect MongoDB Go Driver - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.9%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 1.5.01.0 ≤ v ≤ 1.5.01.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

x_refsource_CONFIRMRelease NotesThird Party Advisory
https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1287CWE-20

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card