Webpack version 0.11.3 is a minor update following version 0.11.2, both designed for bundling JavaScript modules and assets for browser deployment. Developers leverage Webpack to manage complex dependencies, split code into smaller chunks for optimized loading, and transform various file types using loaders. Both versions offer the core functionalities like CommonJS and AMD module support, code splitting, and loader integration for preprocessing files like CSS, JSON, and CoffeeScript.
Examining the metadata, the primary distinction lies in the releaseDate. Version 0.11.3 was published on November 5th, 2013, a couple of days after version 0.11.2, released on November 3rd, 2013. The dependency and devDependency lists remain consistent between the two versions, suggesting that the update likely includes bug fixes, performance improvements, or minor feature enhancements rather than significant API changes or new loader integrations. Developers already using Webpack 0.11.2 should consider upgrading to 0.11.3 for potential stability and optimization benefits. While the specifics of the changes are not detailed in the metadata, the short time between releases hints at a focused effort to refine the existing codebase. For new adopters, the core Webpack experience remains unchanged, offering a powerful module bundler with extensive loader support.
All the vulnerabilities related to the version 0.11.3 of the package
Prototype Pollution in minimist
Affected versions of minimist
are vulnerable to prototype pollution. Arguments are not properly sanitized, allowing an attacker to modify the prototype of Object
, causing the addition or modification of an existing property that will exist on all objects.
Parsing the argument --__proto__.y=Polluted
adds a y
property with value Polluted
to all objects. The argument --__proto__=Polluted
raises and uncaught error and crashes the application.
This is exploitable if attackers have control over the arguments being passed to minimist
.
Upgrade to versions 0.2.1, 1.2.3 or later.
Prototype Pollution in minimist
Minimist prior to 1.2.6 and 0.2.4 is vulnerable to Prototype Pollution via file index.js
, function setKey()
(lines 69-95).
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.