Advisory

GHSA-v8w9-2789-6hhr

Also known as: CVE-2020-7610, SNYK-JS-BSON-561052

Summary

Deserialization of Untrusted Data in bson

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-05-07 16:04 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

bson

npm · All systems

Affected

  • introduced 0, fixed 1.1.4 (semver)

Fixed versions

1.1.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences