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-2022-0512 (Medium) detected in multiple libraries #217

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

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

CVE-2022-0512 - Medium Severity Vulnerability

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

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)

url-parse-1.5.3.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.5.3.tgz

Path to dependency file: /aws-node-twilio-send-text-message/package.json

Path to vulnerable library: /aws-node-twilio-send-text-message/node_modules/url-parse/package.json,/aws-node-signed-uploads/node_modules/url-parse/package.json

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

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)

Found in base branch: master

Vulnerability Details

Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.

Publish Date: 2022-02-14

URL: CVE-2022-0512

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-2022-0512

Release Date: 2022-02-14

Fix Resolution (url-parse): 1.5.6

Direct dependency fix Resolution (serverless): 1.28.0

Fix Resolution (url-parse): 1.5.6

Direct dependency fix Resolution (serverless): 1.27.0

Fix Resolution (url-parse): 1.5.6

Direct dependency fix Resolution (react-scripts): 3.0.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 1 month 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 1 month 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.