CVE-2021-20329
Specific cstrings input may not be properly validated in the Go Driver
- State
- Published
- Severity
- 6.8 Medium
- Published
- Jun 10, 2021
- Updated
- Sep 16, 2024
- Reserved
- Dec 17, 2020
Description
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 prior to and including 1.5.0.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.8 Medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | mongodb |
Weaknesses
- CWE-1287 Improper Validation of Specified Type of Input
Affected Products
| Product | Versions |
|---|---|
MongoDB Go DriverMongoDB Inc. |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.