-
Notifications
You must be signed in to change notification settings - Fork 18
CVE-2012-6708 (Medium) detected in jquery-1.7.1.min.js #32
Comments
@maoo all of the issues raised are very similar in nature, relating to jQuery vulnerabilities. Here's a brief analysis of just one of them ... Regarding: /openfin-react-hooks/demo/node_modules/vm-browserify/example/run/index.html This relates to an example file in the vm-browserify package. This was recently resolved with the following PR that removes the dependency browserify/vm-browserify#27 We depend on this package transitively as follows:
However the node-libs-browser package is now deprecated:
This makes it very hard to bump the vm-browserify version in our dependency chain. Also, the 'root' of our dependency is @maoo @mcleo-d what is a suitable path to resolution? I don't believe any of the issues raised by the WhiteSource bot are significant. |
See conversation on finos#32
Thanks for this @ColinEberhardt . My suggestion would be to define the following exclusions:
As such, I'd suggest to the define WhiteSource excludes as follows:
PR sent on #37 |
@maoo and @ColinEberhardt - I have reported the sockjs upgrade recommendation to the sockjs team via their responsible disclosure policy. You are cc'd in the initial report. |
This issue has been previously reported to sockjs and has been closed as below ... Thanks for highlighting @ColinEberhardt 👍 |
* Setting up WS excludes See conversation on #32 * chore: added further documentation Co-authored-by: Colin Eberhardt <[email protected]> Co-authored-by: Dean Kerr <[email protected]>
CVE-2012-6708 - Medium Severity Vulnerability
Vulnerable Library - jquery-1.7.1.min.js
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js
Path to dependency file: /tmp/ws-scm/openfin-react-hooks/demo/node_modules/vm-browserify/example/run/index.html
Path to vulnerable library: /openfin-react-hooks/demo/node_modules/vm-browserify/example/run/index.html,/openfin-react-hooks/demo/node_modules/sockjs/examples/hapi/html/index.html,/openfin-react-hooks/demo/node_modules/sockjs/examples/echo/index.html,/openfin-react-hooks/demo/node_modules/sockjs/examples/express/index.html,/openfin-react-hooks/demo/node_modules/sockjs/examples/multiplex/index.html,/openfin-react-hooks/demo/node_modules/sockjs/examples/express-3.x/index.html
Dependency Hierarchy:
Found in HEAD commit: c9c569435dd51553be4bbe2b857087c7fe7761be
Vulnerability Details
jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.
Publish Date: 2018-01-18
URL: CVE-2012-6708
CVSS 3 Score Details (6.1)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2012-6708
Release Date: 2018-01-18
Fix Resolution: jQuery - v1.9.0
The text was updated successfully, but these errors were encountered: