vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

WS-2023-0004 (High) detected in jszip-3.7.1.tgz, jszip-3.5.0.tgz - autoclosed #193

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

WS-2023-0004 - High Severity Vulnerability

Vulnerable Libraries - jszip-3.7.1.tgz, jszip-3.5.0.tgz

jszip-3.7.1.tgz

Create, read and edit .zip files with JavaScript http://stuartk.com/jszip

Library home page: https://registry.npmjs.org/jszip/-/jszip-3.7.1.tgz

Path to dependency file: /utility-emissions-channel/typescript_app/package.json

Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/@serverless/dashboard-plugin/node_modules/jszip/package.json

Dependency Hierarchy: - serverless-2.61.0.tgz (Root Library) - dashboard-plugin-5.4.5.tgz - :x: **jszip-3.7.1.tgz** (Vulnerable Library)

jszip-3.5.0.tgz

Create, read and edit .zip files with JavaScript http://stuartk.com/jszip

Library home page: https://registry.npmjs.org/jszip/-/jszip-3.5.0.tgz

Path to dependency file: /utility-emissions-channel/typescript_app/package.json

Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/jszip/package.json

Dependency Hierarchy: - serverless-s3-local-0.6.7.tgz (Root Library) - serverless-offline-6.8.0.tgz - :x: **jszip-3.5.0.tgz** (Vulnerable Library)

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

Found in base branch: main

Vulnerability Details

jszip before 3.8.0 does not sanitize filenames when files are loaded with `loadAsync`, which makes the library vunerable to zip-slip attack.

Publish Date: 2023-01-04

URL: WS-2023-0004

CVSS 3 Score Details (7.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-01-04

Fix Resolution (jszip): 3.8.0

Direct dependency fix Resolution (serverless): 2.62.0

Fix Resolution (jszip): 3.6.0

Direct dependency fix Resolution (serverless-s3-local): 0.6.8


Step up your Open Source Security Game with Mend here

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