Webpack 0.11.18 and 0.11.17 versions are closely related, sharing the same core functionality for bundling CommonJS, AMD, and labeled modules for browser deployment. Both versions empower developers to split codebases into manageable bundles loaded on demand, optimizing initial load times and improving user experience. The support for various loaders remains consistent, allowing preprocessing of diverse file types like JSON, Jade, CoffeeScript, CSS, and Less, alongside custom loaders tailored to specific project needs. Dependency and development dependency specifications remain identical across both versions, leveraging libraries like async, clone, uglify-js, mocha, and various loaders facilitating style, URL, file, and component handling. The source code repository remains constant, hosted on GitHub under the webpack/webpack repository. Key functionalities like hot module replacement, code splitting, and loader customization are present and unchanged.
The primary difference lies in the update of the version number and the slight increase in releaseDate, a mere 17 minutes delay, indicating a very minor release. This suggests the update included minor bug fixes, minor performance improvements, or a few documentation updates and not a major overhaul. Developers considering an upgrade from 0.11.17 to 0.11.18 should test their configurations because even small changes can sometimes introduce compatibility issues, however considering the small time differences is likely that the changes are minimal.
All the vulnerabilities related to the version 0.11.18 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.