artkamote / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
0 stars 0 forks source link

CVE-2020-7610 (Critical) detected in bson-1.1.0.tgz, bson-1.0.9.tgz #11

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2020-7610 - Critical Severity Vulnerability

Vulnerable Libraries - bson-1.1.0.tgz, bson-1.0.9.tgz

bson-1.1.0.tgz

A bson parser for node.js and the browser

Library home page: https://registry.npmjs.org/bson/-/bson-1.1.0.tgz

Path to dependency file: /aws-node-mongodb-atlas/package.json

Path to vulnerable library: /aws-node-mongodb-atlas/node_modules/bson/package.json

Dependency Hierarchy: - mongodb-3.1.13.tgz (Root Library) - mongodb-core-3.1.11.tgz - :x: **bson-1.1.0.tgz** (Vulnerable Library)

bson-1.0.9.tgz

A bson parser for node.js and the browser

Library home page: https://registry.npmjs.org/bson/-/bson-1.0.9.tgz

Path to dependency file: /aws-node-rest-api-mongodb/package.json

Path to vulnerable library: /aws-node-rest-api-mongodb/node_modules/bson/package.json,/aws-node-http-api-mongodb/node_modules/bson/package.json

Dependency Hierarchy: - mongoose-4.13.21.tgz (Root Library) - :x: **bson-1.0.9.tgz** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2020-03-30

URL: CVE-2020-7610

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-04-01

Fix Resolution (bson): 1.1.4

Direct dependency fix Resolution (mongodb): 3.2.0

Fix Resolution (bson): 1.1.4

Direct dependency fix Resolution (mongoose): 5.3.9


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 3 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 3 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.