GO-2021-0112

    Dashboard / Vulnerabilities / GO-2021-0112

    GO-2021-0112

    Published: 28 Jul 2021Last Modified: 20 May 2024

    Summary: Improper input validation in go.mongodb.org/mongo-driver

    Details: 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.

    Affected packages

    Package

    Name: go.mongodb.org/mongo-driver

    Purl: pkg:golang/go.mongodb.org/mongo-driver

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.5.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2021-0112 | CVE-DB