Live threats

All CVEs / Mongodb

CVE-2019-2391Mongodb Js-bson

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.8%
probability of exploitation in 30 days · percentile 57
Auth required
Yes
Published
Mar 31, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Js-bson.

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-4jwp-vfvf-657p). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mongodbjs-bson< 1.1.4

Official sources

References

Links published by the sources. Open them with care.

  • github.com Patch Release Notes Third Party Advisory