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 _bsotype, leading to cases where an object is serialized as a document rather than the intended BSON type.
Remediation
References
https://snyk.io/vuln/SNYK-JS-BSON-561052
Related Vulnerabilities
CVE-2020-13954 Vulnerability in maven package org.apache.cxf:cxf-rt-transports-http
CVE-2021-23346 Vulnerability in npm package html-parse-stringify
CVE-2020-2168 Vulnerability in maven package org.jenkins-ci.plugins:azure-acs
CVE-2023-2968 Vulnerability in npm package proxy
CVE-2022-21830 Vulnerability in npm package @rocket.chat/livechat