6.8

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

Modified
AliasesUBUNTU-CVE-2021-20329GHSA-f6mq-5m25-4r72GO-2021-0112
Published 10-06-2021Last modified 16-09-2024

Vulnerability summary

CVE-2021-20329 is a medium (CVSS 6.8) vulnerability in mongodb inc mongodb go driver. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 60.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.94%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 10-06-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability 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

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.94%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.94% on 05-10-2026

05-10-202604-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Go.mongodb.org1 product
  • mongo-driver< 1.5.1
Mongodb1 product
Mongodb inc1 product
Ubuntu1 product
  • mongodbAll versions (No fix recorded)

4 vendors · 4 products

References

9 links