bson@1.0.2 vulnerabilities

A bson parser for node.js and the browser

Direct Vulnerabilities

Known vulnerabilities in the bson package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Internal Property Tampering

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

How to fix Internal Property Tampering?

Upgrade bson to version 1.1.4 or higher.

>=1.0.0 <1.1.4
  • H
Internal Property Tampering

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

How to fix Internal Property Tampering?

Upgrade bson to version 1.1.4 or higher.

>=1.0.0 <1.1.4
  • L
Regular Expression Denial of Service (ReDoS)

bson is a BSON Parser for node and browser.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). This can cause an impact of about 10 seconds matching time for data 50K characters long.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade bson to version 1.0.5 or higher.

>=0.5.0 <1.0.5
  • L
Regular Expression Denial of Service (ReDoS)

bson is a BSON Parser for node and browser.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). This can cause an impact of about 10 seconds matching time for data 50K characters long.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade bson to version 1.0.5 or higher.

>=0.5.0 <1.0.5