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, GO-2021-0112
go.mongodb.org/mongo-driver improperly validates cstrings when marshalling Go objects into BSON
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.
Medium Basis: The source's own band: MODERATE
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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0