cve.bz

CVE-2021-20329

6.5 mediumEPSS 0.9%

Medium (6.5) in mongodb go driver. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in go.mongodb.org/mongo-driver 1.5.1.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.9% chance of exploitation in the next 30 days; higher than 60% of CVEs (scores of 2026-10-31)
CWEs
CWE-20, CWE-1287
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f6mq-5m25-4r72Gogo.mongodb.org/mongo-driver<1.5.11.5.1
GO-2021-0112Gogo.mongodb.org/mongo-driver<1.5.11.5.1

References

Check your stackJSON