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-2018-18628 Vulnerability in maven package ro.pippo:pippo-session
CVE-2020-26226 Vulnerability in npm package semantic-release
CVE-2021-3827 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2023-0842 Vulnerability in npm package xml2js
CVE-2022-22947 Vulnerability in maven package org.springframework.cloud:spring-cloud-gateway