CVE-2019-2391
JS-bson may incorrectly serialise some requests
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.2
JS-bson may incorrectly serialise some requests
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.
- Record
CVE-2019-2391- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-502
- Updated
- 2026-11-02
EUVDEUVD-2022-0814
4.2
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.
- Record
EUVD-2022-0814- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4jwp-vfvf-657p
5.4
Deserialization 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.
- Record
GHSA-4jwp-vfvf-657p- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-502
- Updated
- 2026-11-02
NVD
4.2
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.
- Record
CVE-2019-2391- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - CVSS 2.0
- 5.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:N - Weakness
- CWE-502
- Updated
- 2026-11-02
OSV
5.4
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.
- Record
CVE-2019-2391- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-2391
5.4
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.
- Record
DEBIAN-CVE-2019-2391- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-4jwp-vfvf-657p
5.4
Deserialization 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.
- Record
GHSA-4jwp-vfvf-657p- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-2391
4.2
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.
- Record
UBUNTU-CVE-2019-2391- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVCLSA-2026-1774225203 No score
TuxCare security update for bson (2 CVEs)
TuxCare rebuilt bson to address 2 CVEs. Fixed in 1.0.9-tuxcare.1.
- Record
CLSA-2026-1774225203- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2019-2391 No score
CVE-2019-2391 in @rootio/bson - Patched by Root
Root has patched CVE-2019-2391 in the @rootio/bson package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2019-2391- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bsonnpm |
before 1.1.4 | 1.1.4 |
bsonTuxCare:npm |
1.0.9-tuxcare.0 up to 1.0.9-tuxcare.1, plus listed versions 1.0.9 |
1.0.9-tuxcare.1 |
node-mongodbDebian:12 |
before 3.5.6+~cs11.12.19-1 | 3.5.6+~cs11.12.19-1 |
@rootio/bsonRoot:npm |
before 1.0.9-root.io.1 | 1.0.9-root.io.1 |
bsonRoot:npm |
before 1.0.9-aikido.1 | 1.0.9-aikido.1 |
node-mongodbUbuntu:20.04:LTS |
All versions, plus listed versions 3.3.1+~3.2.7-13.3.2+~3.2.7-13.3.3+~3.2.7-13.3.5+~3.2.7-13.4.0+~3.2.7-1 Show 5 moreShow less3.4.1+~3.2.7-13.5.0+~3.2.7-13.5.2+~3.2.7-13.5.3+~3.2.7-13.5.5+~3.2.7-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-2391 is a medium vulnerability (CVSS 4.2) in Mongodb Js-bson, published March 31, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.77%, the 55th percentile. Fixed in bson 1.1.4.