Gulp-concat, a handy tool for streamlining web development workflows by merging multiple files into a single output, saw a minor version bump from 2.1.2 to 2.1.3 in December 2013. While both versions share the same core functionality and dependencies – relying on gulp-util and event-stream for their operation – the update, released a week after its predecessor, likely addresses bug fixes or minor improvements rather than introducing significant new features. Developers considering using gulp-concat will find both versions offer identical capabilities in terms of basic file concatenation. The devDependencies section, including gulp, mocha, and should, indicates a focus on testing and integration with the Gulp task runner. Examining the commit history between these specific versions on the GitHub repository would provide pinpoint clarity on the precise changes implemented. The tool's original authors Fractal are committed to streamlining development. The choice between version 2.1.2 and 2.1.3 might depend on your project's risk tolerance, as opting for the slightly newer version would incorporate any fixes that were released. Those using older versions can upgrade to benefit from maintenance and potential stability improvements. Remember to check the gulp-concat repo for a complete changelog.
All the vulnerabilities related to the version 2.1.3 of the package
Command Injection in lodash
lodash
versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
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).