Webpack version 0.3.17 is a minor release over its predecessor, 0.3.16, both focused on packing CommonJS modules for browser deployment. Webpack at this stage empowers developers to split codebases into manageable bundles for on-demand loading, optimizing initial load times and overall application performance. Crucially, it offers built-in support for diverse file types like JavaScript, JSON, Jade (now Pug), CoffeeScript, and CSS, with extensibility via custom loaders for handling virtually any asset. This means developers can seamlessly integrate various technologies into their webpack workflow.
Examining the package.json files, the dependency lists between versions 0.3.16 and 0.3.17 appear identical, encompassing core utilities like esprima for JavaScript parsing, uglify-js for minification, and specific loaders such as css-loader, raw-loader, and coffee-loader. This indicates that the core functionality and the way webpack handled dependencies remained consistent between those releases. However, the only significant difference between the two versions lies in the release date. Version 0.3.17 was published shortly after 0.3.16, specifically less than an hour later, suggesting a potential hotfix or minor adjustment addressed rapidly following the prior release. Given the unchanged dependencies and a very short interval, developers upgrading from 0.3.16 to 0.3.17 likely experienced a seamless transition, possibly addressing a bug or optimization not explicitly detailed in the metadata but considered impactful enough for a quick follow-up release, indicating the project maintainers' responsiveness.
All the vulnerabilities related to the version 0.3.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.