CVE-2019-2391
MEDIUM 5.4CVSS 3.1Deserialization of Untrusted Data in bson
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.
- Published
- 31 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cna@mongodb.com
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-4jwp-vfvf-657p
- Sources
- NVDJSONOSV GHSA-4jwp-vfvf-657pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | cna@mongodb.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mongodb | js-bsoncpe:2.3:a:mongodb:js-bson:*:*:*:*:*:*:*:* |
< 1.1.4 | 1.1.4 |
| OSV | npm | bson | < 1.1.4 | 1.1.4 |
References
- https://github.com/mongodb/js-bson/releases/tag/v1.1.4 · Patch, Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-2391 · ADVISORY
- https://github.com/mongodb/js-bson · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 31 Mar 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Feb 2022)