turkdevops / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
1 stars 0 forks source link

CVE-2022-0512 (Medium) detected in multiple libraries - autoclosed #369

Closed mend-bolt-for-github[bot] closed 2 years ago

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

CVE-2022-0512 - Medium Severity Vulnerability

Vulnerable Libraries - url-parse-1.5.3.tgz, url-parse-1.4.7.tgz, url-parse-1.4.4.tgz, url-parse-1.2.0.tgz

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: /extensions/markdown-language-features/package.json

Path to vulnerable library: /extensions/markdown-language-features/node_modules/url-parse/package.json

Dependency Hierarchy: - vscode-1.1.10.tgz (Root Library) - :x: **url-parse-1.5.3.tgz** (Vulnerable Library)

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

Path to dependency file: /extensions/typescript-language-features/package.json

Path to vulnerable library: /extensions/typescript-language-features/node_modules/url-parse/package.json,/extensions/git/node_modules/url-parse/package.json,/extensions/vscode-notebook-tests/node_modules/url-parse/package.json

Dependency Hierarchy: - vscode-1.1.36.tgz (Root Library) - :x: **url-parse-1.4.7.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: /extensions/vscode-test-resolver/package.json

Path to vulnerable library: /extensions/vscode-test-resolver/node_modules/url-parse/package.json

Dependency Hierarchy: - vscode-1.1.5.tgz (Root Library) - :x: **url-parse-1.4.4.tgz** (Vulnerable Library)

url-parse-1.2.0.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.2.0.tgz

Path to dependency file: /extensions/vscode-api-tests/package.json

Path to vulnerable library: /extensions/vscode-api-tests/node_modules/url-parse/package.json,/extensions/vscode-colorize-tests/node_modules/url-parse/package.json

Dependency Hierarchy: - vscode-1.1.5.tgz (Root Library) - :x: **url-parse-1.2.0.tgz** (Vulnerable Library)

Found in base branch: webview-views

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 (vscode): 1.1.11

Fix Resolution (url-parse): 1.5.6

Direct dependency fix Resolution (vscode): 1.1.37

Fix Resolution (url-parse): 1.5.6

Direct dependency fix Resolution (vscode): 1.1.6

Fix Resolution (url-parse): 1.5.6

Direct dependency fix Resolution (vscode): 1.1.6


Step up your Open Source Security Game with WhiteSource here

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

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