CVE-2021-20329
Improper input validation in go.mongodb.org/mongo-driver
6.8
MEDIUM
CVSS 3.1
EPSS 0.14%
Description
Due to improper input sanitization when marshalling Go objects into BSON, a maliciously constructed Go structure could allow an attacker to inject additional fields into a MongoDB document. Users are affected if they use this package to handle untrusted user input.
How to fix CVE-2021-20329
To remediate CVE-2021-20329, upgrade the affected package to a fixed version below.
- —upgrade to 1.5.1 or later
- —upgrade to 1.5.1 or later
Is CVE-2021-20329 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.5.1
- from 0, < 1.5.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |