CWE
20 1287
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2021-20329: Specific cstrings input may not be properly validated in the Go Driver

First published: Tue Mar 30 2021(Updated: )

A flaw was found in Mongo. Specific cstrings input may not be properly validated in the MongoDB Go Driver when marshaling Go objects into BSON. This flaw allows a malicious user to use a Go object with a specific string to inject additional fields into marshaled documents.

Credit: cna@mongodb.com cna@mongodb.com cna@mongodb.com

Affected SoftwareAffected VersionHow to fix
Mongodb Go Driver<=1.5.0
go/go.mongodb.org/mongo-driver<1.5.1
1.5.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-20329?

    The severity of CVE-2021-20329 is medium with a CVSS score of 6.8.

  • How does CVE-2021-20329 affect MongoDB Go Driver?

    CVE-2021-20329 affects all MongoDB Go Drivers up to version 1.5.1.

  • What is the impact of CVE-2021-20329?

    CVE-2021-20329 could allow a malicious user to inject additional fields into marshalled MongoDB documents.

  • How can I fix CVE-2021-20329 in MongoDB Go Driver?

    To fix CVE-2021-20329 in MongoDB Go Driver, update to version 1.5.1 or later.

  • Where can I find more information about CVE-2021-20329?

    More information about CVE-2021-20329 can be found at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-20329), [GitHub Release](https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1), [GitHub Pull Request](https://github.com/mongodb/mongo-go-driver/pull/622).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203