Webpack version 0.4.17 is a minor update to the popular CommonJS module bundler, building upon the foundation laid by version 0.4.16. Both versions share the same core functionality, offering developers a robust solution for packaging JavaScript, JSON, Jade, CoffeeScript, CSS, and more into optimized bundles deployable in browsers. With version 0.4.17, developers can expect improvements in stability, bug fixes, and potentially slight performance enhancements, although specific details of these under-the-hood changes aren't explicitly declared. The core feature set remains consistent, enabling code splitting for on-demand loading, and seamless integration with a variety of loaders which increases its versatility. Both versions boast the same set of dependencies, including vital packages like Esprima for JavaScript parsing, Uglify-js for code minification, and loaders like css-loader and less-loader for styling needs. The developer experience remains consistent, with familiar configuration options and a clear path for migrating between versions. While the changes are incremental, if you're using a version of webpack older than 0.4.16, upgrading to either 0.4.16 or 0.4.17 would be a huge step forward.
All the vulnerabilities related to the version 0.4.17 of the package
Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js
Versions of uglify-js
prior to 2.4.24 are affected by a vulnerability which may cause crafted JavaScript to have altered functionality after minification.
Upgrade UglifyJS to version >= 2.4.24.
Regular Expression Denial of Service in uglify-js
Versions of uglify-js
prior to 2.6.0 are affected by a regular expression denial of service vulnerability when malicious inputs are passed into the parse()
method.
var u = require('uglify-js');
var genstr = function (len, chr) {
var result = "";
for (i=0; i<=len; i++) {
result = result + chr;
}
return result;
}
u.parse("var a = " + genstr(process.argv[2], "1") + ".1ee7;");
$ time node test.js 10000
real 0m1.091s
user 0m1.047s
sys 0m0.039s
$ time node test.js 80000
real 0m6.486s
user 0m6.229s
sys 0m0.094s
Update to version 2.6.0 or later.
Regular Expression Denial of Service in clean-css
Version of clean-css
prior to 4.1.11 are vulnerable to Regular Expression Denial of Service (ReDoS). Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application to be unresponsive leading to Denial of Service.
Upgrade to version 4.1.11 or higher.
Sandbox Bypass Leading to Arbitrary Code Execution in constantinople
Versions of constantinople
prior to 3.1.1 are vulnerable to a sandbox bypass which can lead to arbitrary code execution.
Update to version 3.1.1 or later.