Security mailing lists by PureSourceCode

GO-2021-0111

not scored yetwithdrawn / rejected

Due to improper input sanitization when marshalling Go objects into BSON, a maliciously constructed
Go structure could allow an attacker to inject additional fields into a MongoDB document. Users are
affected if they use this package to handle untrusted user input.

Published
28 Jul 2021
Last modified
29 Aug 2022
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go go.mongodb.org/mongo-driver < 1.5.1 1.5.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.