imagickal@1.1.0 vulnerabilities

Promised based wrapper for ImageMagick commands.

Direct Vulnerabilities

Known vulnerabilities in the imagickal package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • C
Remote Code Execution (RCE)

imagickal is a node wrapper for ImageMagick commands.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). The injection point is in the identify() function in lib/imagickal.js, which does not validate inputs. The vulnerability is demonstrated by the following PoC:

PoC

var im = require('imagickal');

im.identify('image.jpg;touch HACKED;').then(function (data) {
  console.log(data);
});

How to fix Remote Code Execution (RCE)?

There is no fixed version for imagickal.

*