CVE-2019-2391
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bson | npm | 1.1.4 |
| MongoDB Inc | MongoDB | 1.1.3 |
| js-bson | mongodb | 1.1.4 |
| js-bson | MongoDB Inc. | 1.1.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc. | js-bson | 1.0 |
| MongoDB Inc. | js-bson | 1.0 |
| npm | bson | 0 |
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
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2019-2391 advisory