GHSA-p84x-5xx8-hff9

    Dashboard / Vulnerabilities / GHSA-p84x-5xx8-hff9

    GHSA-p84x-5xx8-hff9

    Published: 24 May 2022Last Modified: 8 Nov 2023

    Summary: bson-objectid contains Improper input validation

    Details: An issue was discovered in the BSON ObjectID (aka bson-objectid) package 1.3.0 for Node.js. ObjectID() allows an attacker to generate a malformed objectid by inserting an additional property to the user-input, because bson-objectid will return early if it `detects _bsontype==ObjectID` in the user-input object. As a result, objects in arbitrary forms can bypass formatting if they have a valid bsontype.

    Affected packages

    Package

    Name: bson-objectid

    Purl: pkg:npm/bson-objectid

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    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-p84x-5xx8-hff9 | CVE-DB