CVE-2020-7610
CRITICAL 9.8CVSS 3.1Deserialization of Untrusted Data in bson
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.
- Published
- 30 Mar 2020
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-v8w9-2789-6hhrSNYK-JS-BSON-561052
- Sources
- NVDJSONOSV GHSA-v8w9-2789-6hhrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mongodb | bsoncpe:2.3:a:mongodb:bson:*:*:*:*:*:node.js:*:* |
>= 1.0.0, < 1.1.4 | 1.1.4 |
| OSV | npm | bson | < 1.1.4 | 1.1.4 |
References
- https://snyk.io/vuln/SNYK-JS-BSON-561052 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7610 · ADVISORY
- https://github.com/mongodb/js-bson/commit/3809c1313a7b2a8001065f0271199df9fa3d16a8 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 30 Mar 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 May 2021)