Webpack version 0.5.5 represents a minor update to the popular module bundler, building upon the functionalities established in version 0.5.4. Both versions share a core purpose: packing CommonJs/AMD modules for browser environments enabling developers to split codebases into manageable bundles that load on demand. They support a wide array of file types, including JavaScript, JSON, Jade, CoffeeScript, and CSS, straight out of the box, and offer extensibility through custom loaders.
Examining the package data reveals that webpack version 0.5.5 carries the same dependencies as version 0.5.4, including esprima, sprintf, optimist, uglify-js, and a suite of loaders for various file formats. This consistency suggests the updates likely focus on bug fixes, performance enhancements, or minor feature adjustments rather than significant architectural overhauls. Development dependencies, mocha and should, also remain constant, indicating stability in the testing environment.
The key difference lies in the release date; version 0.5.5 was published shortly after version 0.5.4, indicating a rapid iteration perhaps addressing immediate issues discovered in the previous release. For developers, this increment signals a refined and more stable iteration of the existing feature set. Upgrading to version 0.5.5 ensures access to the latest fixes and potential optimizations within the webpack 0.5.x series, ultimately contributing to a more reliable and efficient development workflow.
All the vulnerabilities related to the version 0.5.5 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.