VDB
Sign up
CRITICAL9.8

GHSA-v8w9-2789-6hhr

Deserialization of Untrusted Data in bson

Quick fix

GHSA-v8w9-2789-6hhr — bson: upgrade to the fixed version with the command below.

npm install bson@1.1.4

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/bson
Introduced in: 0Fixed in: 1.1.4
Fixnpm install bson@1.1.4

References