What’s Vulnerable › Vulnerabilities
CVE-2019-2391: JS-bson may incorrectly serialise some requests
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-03-31 · updated 2026-06-17
- Weakness: CWE-502
Description
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.
Affected products
- MongoDB Inc. js-bson: before 1.1.4 — fixed in 1.1.4
How to fix
Upgrade to a fixed version: MongoDB Inc. js-bson 1.1.4. Check the vendor advisory for mitigations.
References
- https://github.com/mongodb/js-bson/releases/tag/v1.1.4
- https://github.com/mongodb/js-bson/releases/tag/v1.1.4
Get alerted when CVE-2019-2391 or the next vulnerability affects your stack