{"id":"GHSA-v8w9-2789-6hhr","summary":"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.","aliases":["CVE-2020-7610","SNYK-JS-BSON-561052"],"modified":"2026-07-08T06:49:50.394335945Z","published":"2021-05-07T16:04:54Z","database_specific":{"github_reviewed_at":"2021-05-06T23:40:10Z","nvd_published_at":"2020-03-30T19:15:00Z","cwe_ids":["CWE-502"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7610"},{"type":"WEB","url":"https://github.com/mongodb/js-bson/commit/3809c1313a7b2a8001065f0271199df9fa3d16a8"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-BSON-561052"}],"affected":[{"package":{"name":"bson","ecosystem":"npm","purl":"pkg:npm/bson"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-v8w9-2789-6hhr/GHSA-v8w9-2789-6hhr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}