Skip to content

← Public intelligence

npm package

bson

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.4npmAmendedPublished

    Deserialization of Untrusted Data in bson

    CVE-2019-2391 · GHSA-4jwp-vfvf-657p

    Affected
    • npm bson < 1.1.4
    Fixed in
    1.1.4· Vendor fix available
    Issue
    Incorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON. This may cause unexpected application behaviour including data disclosure.

    Recommended action: Upgrade to 1.1.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Critical, CVSS 9.8npmAmendedPublished

    Deserialization of Untrusted Data in bson

    CVE-2020-7610 · GHSA-v8w9-2789-6hhr

    Affected
    • npm bson < 1.1.4
    Fixed in
    1.1.4· Vendor fix available
    Issue
    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 bsontype, leading to cases where an object is serialized as a document rather than the intended BSON type.

    Recommended action: Upgrade to 1.1.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 7.5npmAmendedPublished

    js-bson vulnerable to REDoS

    CVE-2018-13863 · GHSA-8462-q7x7-g2x4

    Affected
    • npm bson >= 0.5.0, < 1.0.5
    Fixed in
    1.0.5· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.0.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →