Openui5: Security issue in dependencies.

Created on 9 Oct 2019  路  6Comments  路  Source: SAP/openui5

Open UI v. 1.60 a simple dependency check shows an issue in the following libraries
image

in particular this is a high vulnerability

https://github.com/wycats/handlebars.js/commit/7372d4e9dffc9d70c09671aa28b9392a1577fd86

best regards

in progress

All 6 comments

This is for version 1.70
image

The vulnerability in this library (handlebars.js) has been fixed in version 4.0.13 and 4.1.0. I think that simply replacing the library in

core-ext-light.js
core-ext-light-3.js
handlebars.js
core-ext.js

will fix the issue

Forwarded #1970505257

Reg. handlebars: Only third party/handlebars.js needs to be replaced, the others are just bundles packaging it during the build.

Reg. jQuery: most of the jQuery "matches" are false positives or repackaged versions of thirdparty/jquery.js. Not sure how you created those lists, but CVE numbers would be helpful. jQuery2.2.3 for example is a patched version where we fixed issues regarding JavaScript execution of AJAX responses as well as the prototype pollution reported for jQuery.extend.

I've just run dependecy check tool from OWASP. I agree about your jquery comment

Updated to the handlebars 4.4.3 via: https://github.com/SAP/openui5/commit/fd1d965b8dbcac04a9df1106d6a173dd871a5346 (unfortunately missed to add the fixes) - dowports to older releases are prepared and will be submitted soon.

Was this page helpful?
0 / 5 - 0 ratings