CVE-2020-7610 json
Deserialization of Untrusted Data in bson
published 2020-03-30 6 y ago modified 2026-07-08 4 mo ago also GHSA-v8w9-2789-6hhr , EUVD-2021-1199
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm bson 1.1.4
- mongodb bson 1.1.4
- node-mongodb Debian 12 3.5.6+~cs11.12.19-1
debian advisories DEBIAN-CVE-2020-7610
- github.com/mongodb/js-bson@3809c13 commit
- snyk.io/vuln/SNYK-JS-BSON-561052 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-7610 updated cvss 9.8
bson: Deserialization of Untrusted Data could result in Code injection or Excessive CPU load
-
Red Hat OpenShift Application Runtimes bsonnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.27% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | bson | <1.1.4 |
1.1.4 |
Affected products
- n/a bson
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
snyk.io
/vuln/SNYK-JS-BSON-561052
web, patch, third-party-advisory
-
github.com
/mongodb/js-bson/commit/3809c1313a7b2a8001065f0271199df9fa3d16a8
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-7610
advisory
Sources
- CVE List CVE-2020-7610
- GitHub Advisory GHSA-v8w9-2789-6hhr
- NVD CVE-2020-7610
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.