CVEvulnerability
CVE-2021-20329
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-06-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 4.0 MEDIUM — AV:N/AC:L/Au:S/C:N/I:P/A:N
- Weaknesses
- CWE-1287, CWE-20
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.
Affected configurations
• mongodb go driver (<= 1.5.0)
Related
References
- https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1 Release Notes, Third Party Advisory
- https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1 Release Notes, Third Party Advisory