snowdensb / nibrs

Source code for SEARCH's National Incident-Based Reporting System (NIBRS) toolkit
Apache License 2.0
0 stars 0 forks source link

jszip-3.1.3.min.js: 1 vulnerabilities (highest severity is: 7.3) #535

Open mend-for-github-com[bot] opened 7 months ago

mend-for-github-com[bot] commented 7 months ago
Vulnerable Library - jszip-3.1.3.min.js

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

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js

Path to dependency file: /web/nibrs-admin/src/main/resources/templates/fragments/general.html

Path to vulnerable library: /web/nibrs-admin/src/main/resources/templates/fragments/general.html,/web/nibrs-web/src/main/resources/templates/fragments/footer.html

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jszip version) Remediation Possible** Reachability
CVE-2022-48285 High 7.3 jszip-3.1.3.min.js Direct jszip - 3.8.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-48285 ### Vulnerable Library - jszip-3.1.3.min.js

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

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js

Path to dependency file: /web/nibrs-admin/src/main/resources/templates/fragments/general.html

Path to vulnerable library: /web/nibrs-admin/src/main/resources/templates/fragments/general.html,/web/nibrs-web/src/main/resources/templates/fragments/footer.html

Dependency Hierarchy: - :x: **jszip-3.1.3.min.js** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive. Mend Note: Converted from WS-2023-0004, on 2023-02-01.

Publish Date: 2023-01-29

URL: CVE-2022-48285

### 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-29

Fix Resolution: jszip - 3.8.0