Skip to main content
← All vulnerabilities
CVE-2021-20329GHSA-F6MQ-5M25-4R72GO-2021-0112

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.1
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • MongoDB Inc. MongoDB Go Driver

    From 1.0 · through 1.5.0

  • go.mongodb.org/mongo-driverGo

    fixed in 1.5.1

References 1

GitHub · mongodb/mongo-go-driver