Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-7610

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-7610
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:52 UTC · Revision 1

Source evidence

CVE-2020-7610

core-osv · Original source

Published 30 Mar 2020, 19:15 UTC

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.

osv:CVE-2020-7610
Complete source record
{
  "id": "70742df52bb6141a61ab1d02018d41c7f625a962a562af09e28d2ef792f8e9a8",
  "url": "https://osv.dev/vulnerability/CVE-2020-7610",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-7610",
    "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.",
    "evidence": "osv:CVE-2020-7610",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-7610",
      "aliases": [
        "CVE-2020-7610",
        "GHSA-v8w9-2789-6hhr",
        "SNYK-JS-BSON-561052"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mongodb/js-bson",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4ca8e388f4b5a1aaa06a464dedc6a95fb2ab486c"
                },
                {
                  "fixed": "6e782dac6a110509097077ee5edd311977f32522"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mongodb:bson:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "fixed": "1.1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.1.3",
            "v1.1.2",
            "v1.1.0",
            "v1.0.9",
            "v1.0.8",
            "v1.0.7",
            "v1.0.6",
            "v1.0.5",
            "V1.0.4",
            "V1.0.3",
            "V1.0.2",
            "V1.0.1",
            "V1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7610.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.836444146Z",
      "provider": "osv",
      "references": [
        "https://snyk.io/vuln/SNYK-JS-BSON-561052"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:mongodb:bson:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "mongodb:bson",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.0.0"
                  },
                  {
                    "fixed": "1.1.4"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-7610",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430781,
  "published_at": "2020-03-30T19:15:17.547+00:00"
}