~ / search / GHSA-f6mq-5m25-4r72

GHSA-f6mq-5m25-4r72

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-20329

Packages

EcosystemPackageAffectedFixed in
Go go.mongodb.org/mongo-driver < 1.5.1 1.5.1

Details

As written in the advisory (Markdown source, shown as plain text).

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 up to (and including) 1.5.0.

References

External links from the advisory. They lead to third-party sites.