#VU26464 Deserialization of Untrusted Data in js-bson


Published: 2020-03-30

Vulnerability identifier: #VU26464

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-7610

CWE-ID: CWE-502

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
js-bson
Web applications / JS libraries

Vendor: MongoDB, Inc.

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data in "_bsontype". A remote attacker can pass specially crafted data to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

js-bson: 1.0.0 - 1.1.3


External links
http://snyk.io/vuln/SNYK-JS-BSON-561052
http://github.com/mongodb/js-bson/commit/3809c1313a7b2a8001065f0271199df9fa3d16a8
http://github.com/mongodb/js-bson/releases/tag/v1.1.4


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability