Internal Property Tampering Affecting bson package, versions >=1.0.0 <1.1.4



    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.05% (22nd percentile)
Expand this section
5.4 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-BSON-6056525
  • published 24 Mar 2020
  • disclosed 24 Mar 2020
  • credit xiaofen9

How to fix?

Upgrade bson to version 1.1.4 or higher.


bson is a BSON Parser for node and browser.

Affected versions of this package are vulnerable to Internal Property Tampering. 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.

NOTE: This vulnerability has also been identified as: CVE-2020-7610