mittel6.8
CVE-2021-20329
Specific cstrings input may not be properly validated in the MongoDB Go Driver when marshalling Go objects into BSON.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | go.mongodb.org/mongo-driver | < 1.5.1 | 1.5.1 |
Betroffene Produkte · MongoDB
| Produkt | Betroffene Versionen |
|---|---|
| Go Driver | bis einschließlich 1.5.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1
- https://github.com/advisories/GHSA-f6mq-5m25-4r72
- https://nvd.nist.gov/vuln/detail/CVE-2021-20329
- https://github.com/mongodb/mongo-go-driver/pull/622
- https://github.com/mongodb/mongo-go-driver/commit/2aca31d5986a9e1c65a92264736de9fdc3b9b4ca
- https://jira.mongodb.org/browse/GODRIVER-1923
- https://pkg.go.dev/vuln/GO-2021-0112