GHSA-8462-q7x7-g2x4

    Dashboard / Vulnerabilities / GHSA-8462-q7x7-g2x4

    GHSA-8462-q7x7-g2x4

    Published: 17 Sept 2018Last Modified: 8 Nov 2023

    Summary: js-bson vulnerable to REDoS

    Details: The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of Service (ReDoS) in lib/bson/decimal128.js. The flaw is triggered when the Decimal128.fromString() function is called to parse a long untrusted string.

    Affected packages

    Package

    Name: bson

    Purl: pkg:npm/bson

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.5.0
    Fixed -1.0.5

    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-8462-q7x7-g2x4 | CVE-DB