CVE-2021-20329 – go.mongodb.org/mongo-driver
Package
Manager: go
Name: go.mongodb.org/mongo-driver
Vulnerable Version: >=0 <1.5.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.0014 pctl0.34677
Details
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.
Metadata
Created: 2021-06-15T16:08:16Z
Modified: 2024-09-17T15:38:07Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-f6mq-5m25-4r72/GHSA-f6mq-5m25-4r72.json
CWE IDs: ["CWE-1287", "CWE-20"]
Alternative ID: GHSA-f6mq-5m25-4r72
Finding: F184
Auto approve: 1