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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (73rd percentile)

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 IDSNYK-JS-BSON-561052
  • published24 Mar 2020
  • disclosed24 Mar 2020
  • creditxiaofen9

Introduced: 24 Mar 2020

CVE-2020-7610  (opens in a new tab)
CWE-642  (opens in a new tab)
First added by Snyk

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.

NOTE: This vulnerability has also been identified as: CVE-2019-2391

CVSS Scores

version 3.1