ADVISORIES

Vulnerability

CVE-2021-20329

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.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Go 2Ubuntu 1openSUSE 1

Advisories

  • GHSA-f6mq-5m25-4r72

    go.mongodb.org/mongo-driver improperly validates cstrings when marshalling Go objects into BSON

    Moderate CVE-2021-20329 Go Updated 17 September 2024
  • GO-2021-0112

    Improper input validation in go.mongodb.org/mongo-driver

    CVE-2021-20329 Go Updated 20 May 2024
  • UBUNTU-CVE-2021-20329

    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…

    CVE-2021-20329 Ubuntu Updated 19 February 2026
  • openSUSE-SU-2025:15764-1

    etcd-for-k8s1.32-3.5.24-1.1 on GA media

    CVE-2021-20329CVE-2024-45339 openSUSE Updated 23 March 2026

References