SharonKoch / AltoroJ_Demo

WARNING: This app contains security vulnerabilities. AltoroJ is a sample banking J2EE web application. It shows what happens when web applications are written with consideration of app functionality but not app security. It's a simple and uncluttered platform for demonstrating and learning more about real-life application security issues.
Apache License 2.0
1 stars 0 forks source link

underscore-min-1.7.0.js: 1 vulnerabilities (highest severity is: 7.2) #4

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

mend-for-github-com[bot] commented 9 months ago
Vulnerable Library - underscore-min-1.7.0.js

JavaScript's functional programming helper library.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js

Path to vulnerable library: /WebContent/swagger/lib/underscore-min.js

Found in HEAD commit: c7142581c9069b8cb9288ee3a8c017f04d3578b4

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (underscore-min version) Remediation Possible**
CVE-2021-23358 High 7.2 underscore-min-1.7.0.js Direct underscore - 1.12.1,1.13.0-2

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

Details

CVE-2021-23358 ### Vulnerable Library - underscore-min-1.7.0.js

JavaScript's functional programming helper library.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js

Path to vulnerable library: /WebContent/swagger/lib/underscore-min.js

Dependency Hierarchy: - :x: **underscore-min-1.7.0.js** (Vulnerable Library)

Found in HEAD commit: c7142581c9069b8cb9288ee3a8c017f04d3578b4

Found in base branch: AltoroJ-3.2

### Vulnerability Details

The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.

Publish Date: 2021-03-29

URL: CVE-2021-23358

### CVSS 3 Score Details (7.2)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2021-03-29

Fix Resolution: underscore - 1.12.1,1.13.0-2