VYPR

npm package

bson

pkg:npm/bson

Vulnerabilities (3)

  • CVE-2019-2391Mar 31, 2020
    affected < 1.1.4fixed 1.1.4

    Incorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON. This may cause unexpected application behaviour including data disclosure. This issue affects: MongoDB Inc. js-bson library version 1.1.3 and prior to.

  • CVE-2020-7610Mar 30, 2020
    affected < 1.1.4fixed 1.1.4

    All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. The package will ignore an unknown value for an object's _bsotype, leading to cases where an object is serialized as a document rather than the intended BSON type.

  • CVE-2018-13863HigJul 10, 2018
    affected >= 0.5.0, < 1.0.5fixed 1.0.5

    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 unt