VDB

CVE-2019-2391

CVE-2019-2391 PUBLISHED CVSS 4.2 MEDIUM

JS-bson may incorrectly serialise some requests

Reported by mongodb · Published March 31, 2020

bson is fixed in 1.1.4 (npm)

Incorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON. This may cause unexpected application behaviour including data disclosure. This issue affects: MongoDB Inc. js-bson library version 1.1.3 and prior to.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bsonnpm1.1.4
MongoDB IncMongoDB1.1.3
js-bsonmongodb1.1.4
js-bsonMongoDB Inc.1.1.3

Risk scores

CVSS 3.1
4.2
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
MongoDB Inc.js-bson1.0
MongoDB Inc.js-bson1.0
npmbson0

Timeline

  • Mar 31, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 23, 2026 CVE Updated
  • Mar 9, 2026 Security Advisory
  • Sep 11, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-2391
vulnetix vdb fixes CVE-2019-2391

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-2391/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›