Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-7610 EUVD-2021-1199GHSA-v8w9-2789-6hhrSNYK-JS-BSON-561052

Deserialization of Untrusted Data in bson

Published Mar 30, 2020 · Updated Aug 4, 2024 · Assigned by snyk

Description

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. The package will ignore an unknown value for an object's _bsotype, leading to cases where an object is serialized as a document rather than the intended BSON type.

Affected products

VendorProductAffectedFixed
— bson all versions before 1.1.4 —

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-v8w9-2789-6hhr

References