CVE-2019-2391 json
JS-bson may incorrectly serialise some requests
published 6y ago modified 4mo ago also GHSA-4jwp-vfvf-657p , EUVD-2022-0814
- cvss
- 4.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm bson 1.1.4
- mongodb js-bson 1.1.4
- node-mongodb Debian 12 3.5.6+~cs11.12.19-1
debian advisories DEBIAN-CVE-2019-2391
Is CVE-2019-2391 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | bson | <1.1.4 |
1.1.4 |
Affected products
- MongoDB Inc. js-bson
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/mongodb/js-bson/releases/tag/v1.1.4
web, patch, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-2391
advisory
-
github.com
/mongodb/js-bson
package
Sources
- CVE List CVE-2019-2391
- GitHub Advisory GHSA-4jwp-vfvf-657p
- NVD CVE-2019-2391
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.