snowdensb / sonar-xanitizer

Integrates Xanitizer results into SonarQube
Apache License 2.0
0 stars 0 forks source link

CVE-2021-23358 (High) detected in underscore-1.7.0.js, underscore-min-1.7.0.js - autoclosed #117

Closed mend-for-github-com[bot] closed 7 months ago

mend-for-github-com[bot] commented 3 years ago

CVE-2021-23358 - High Severity Vulnerability

Vulnerable Libraries - underscore-1.7.0.js, underscore-min-1.7.0.js

underscore-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.js

Path to vulnerable library: /src/test/resources/webgoat/js/backbone/underscore.js,/src/test/resources/webgoat/js/libs/underscore.js

Dependency Hierarchy: - :x: **underscore-1.7.0.js** (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: /src/test/resources/webgoat/js/backbone/underscore-min.js,/src/test/resources/webgoat/js/libs/underscore-min.js

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

Found in HEAD commit: e2144e84b1fdbf18c01c24e6ab9ade7b45b25283

Found in base branch: master

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