GHSA-f6mq-5m25-4r72

    Dashboard / Vulnerabilities / GHSA-f6mq-5m25-4r72

    GHSA-f6mq-5m25-4r72

    Published: 15 Jun 2021Last Modified: 17 Sept 2024

    Summary: go.mongodb.org/mongo-driver improperly validates cstrings when marshalling Go objects into BSON

    Details: 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 up to (and including) 1.5.0.

    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
    GHSA-f6mq-5m25-4r72 | CVE-DB