ADVISORIES

GitHub Advisory Database

GHSA-v8w9-2789-6hhr

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.

Affected packages

EcosystemPackageAffected versions
npmbson
All versions before 1.1.4 (fixed in 1.1.4)

References