Vulnerabilities/

Deserialization of Untrusted Data in bson

Severity:
High

Description

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.

Recommendation

Update the bson package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
bson
Anything's wrong? Let us know Last updated on February 12, 2025

This issue is available in SmartScanner Professional

See Pricing