go.mongodb.org/mongo-driver
Affected
- introduced
0, fixed1.5.1(semver)
Fixed versions
1.5.1
Fix
- Fixed version
1.5.1go get go.mongodb.org/[email protected]
Advisory
Also known as: CVE-2021-20329, GHSA-f6mq-5m25-4r72
Improper input validation in go.mongodb.org/mongo-driver
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.
Not rated by the source.
0, fixed 1.5.1 (semver)1.5.1
1.5.1go get go.mongodb.org/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0