Skip to content
OpenAdvisories
Medium · 4.2 CVE-2019-2391 EUVD-2022-0814GHSA-4jwp-vfvf-657p

JS-bson may incorrectly serialise some requests

Published Mar 31, 2020 · Updated Aug 4, 2024 · Assigned by mongodb

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. This issue affects: MongoDB Inc. js-bson library version 1.1.3 and prior to.

Affected products

VendorProductAffectedFixed
MongoDB js-bson 1.0 – ≤ 1.1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 node-mongodb 3.5.6+~cs11.12.19-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-mongodb No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm bson < 1.1.4 1.1.4 GHSA-4jwp-vfvf-657p

References