Skip to content

Deserialization of Untrusted Data in bson

Moderate severity GitHub Reviewed Published Feb 10, 2022 to the GitHub Advisory Database • Updated Jun 20, 2023

Package

npm bson (npm)

Affected versions

< 1.1.4

Patched versions

1.1.4

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.

References

Published by the National Vulnerability Database Mar 31, 2020
Reviewed May 7, 2021
Published to the GitHub Advisory Database Feb 10, 2022
Last updated Jun 20, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2019-2391

GHSA ID

GHSA-4jwp-vfvf-657p

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.