PT-2020-2039 · Mongodb · Bson

Xiaofen9

·

Published

2020-03-23

·

Updated

2021-05-07

·

CVE-2020-7610

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions bson versions prior to 1.1.4
Description The issue is related to the deserialization of untrusted data in the bson package. It occurs when the package ignores an unknown value for an object's bsotype or bsontype, leading to incorrect serialization of the object as a document instead of the intended BSON type. This can potentially allow a remote attacker to execute arbitrary code.
Recommendations For versions prior to 1.1.4, update to version 1.1.4 or later to resolve the issue. As a temporary workaround, consider restricting the deserialization of untrusted data to minimize the risk of exploitation. Avoid using unknown or untrusted values for an object's bsotype or bsontype until the issue is resolved.

Fix

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2020-01664
CVE-2020-7610
GHSA-V8W9-2789-6HHR
SNYK-JS-BSON-561052

Affected Products

Bson