Live threats

All CVEs / Mongodb

CVE-2020-7610Mongodb Bson

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Mar 30, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bson.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm bson < 1.1.4 1.1.4 npm install bson@1.1.4

Per OSV / GitHub Advisories (GHSA-v8w9-2789-6hhr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mongodbbson≥ 1.0.0 < 1.1.4

Official sources

References

Links published by the sources. Open them with care.

  • snyk.io Patch Third Party Advisory