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-8124 (Medium) detected in url-parse-1.4.4.tgz, url-parse-1.4.1.tgz #76

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

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

CVE-2020-8124 - Medium Severity Vulnerability

Vulnerable Libraries - url-parse-1.4.4.tgz, url-parse-1.4.1.tgz

url-parse-1.4.4.tgz

Small footprint URL parser that works seamlessly across Node.js and browser environments

Library home page: https://registry.npmjs.org/url-parse/-/url-parse-1.4.4.tgz

Path to dependency file: /aws-node-fullstack/frontend/package.json

Path to vulnerable library: /aws-node-fullstack/frontend/node_modules/url-parse/package.json

Dependency Hierarchy: - react-scripts-2.1.8.tgz (Root Library) - react-dev-utils-8.0.0.tgz - sockjs-client-1.3.0.tgz - :x: **url-parse-1.4.4.tgz** (Vulnerable Library)

url-parse-1.4.1.tgz

Small footprint URL parser that works seamlessly across Node.js and browser environments

Library home page: https://registry.npmjs.org/url-parse/-/url-parse-1.4.1.tgz

Path to dependency file: /aws-node-oauth-dropbox-api/package.json

Path to vulnerable library: /aws-node-oauth-dropbox-api/node_modules/url-parse/package.json

Dependency Hierarchy: - serverless-1.27.3.tgz (Root Library) - fdk-0.5.1.tgz - :x: **url-parse-1.4.1.tgz** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

Insufficient validation and sanitization of user input exists in url-parse npm package version 1.4.4 and earlier may allow attacker to bypass security checks.

Publish Date: 2020-02-04

URL: CVE-2020-8124

CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8124

Release Date: 2020-02-18

Fix Resolution (url-parse): 1.4.5

Direct dependency fix Resolution (react-scripts): 3.0.0

Fix Resolution (url-parse): 1.4.5

Direct dependency fix Resolution (serverless): 1.28.0


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.