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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2021-20329US | medium6.5 | — | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/mongodb/mongo-go-driverPACKAGE
- https://github.com/mongodb/mongo-go-driver/commit/2aca31d5986a9e1c65a92264736de9fdc3b9b4caWEB
- https://github.com/mongodb/mongo-go-driver/pull/622WEB
- https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1WEB
- https://jira.mongodb.org/browse/GODRIVER-1923WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-20329ADVISORY
- https://pkg.go.dev/vuln/GO-2021-0112WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan