CVE-2021-20329 MEDIUM

CVE-2021-20329: Specific cstrings input may not be properly validated in the Go Driver

Vendor Mongodb Inc.
Product MongoDB Go Driver
Weakness CWE-1287
Published June 10, 2021
Last update September 16, 2024

CVSS base score

6.8/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 10, 2021 CVE published
September 16, 2024 Record updated