Internal Property Tampering Affecting bson Open this link in a new tab package, versions >=1.0.0 <1.1.4


0.0
high
  • Attack Complexity

    High

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

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-561052

  • published

    24 Mar 2020

  • disclosed

    24 Mar 2020

  • credit

    xiaofen9

How to fix?

Upgrade bson to version 1.1.4 or higher.

Overview

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.