CVE-2021-20329

Aliases:GHSA-f6mq-5m25-4r72GO-2021-0112
Advisory lineage Upstream: 0 Downstream: 2
Modified
Published: 10 Jun 2021, 16:30
Last modified:16 Sept 2024, 22:55

Vulnerability Summary

Overall Risk (default)
medium
27/100
CVSS Score
6.8 MEDIUM
v3.1 (cve.org)
EPSS Score
0.14% LOW
0% probability -0.05%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

10 Jun 2021, 16:30
Published
Vulnerability first disclosed
16 Sept 2024, 22:55
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 6.8CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
  • v3.1MEDIUMScore: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • v2.0MEDIUMScore: 4AV:N/AC:L/Au:S/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 0.14% Percentile: 34%

Techniques & Countermeasures

  • CWE-20Improper Input Validation

    The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

  • CWE-1287Improper Validation of Specified Type of Input

    The product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type.

Affected Systems

  • go.mongodb.orgmongo-driver

    < 1.5.1

  • mongodb inc.mongodb go driver

    ≥ 1.0, ≤ 1.5.0

  • mongodbgo_driver

    ≤ 1.5.0

References (7)