imagickal@0.6.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.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Remote Code Execution

imagickal is a node wrapper for ImageMagick commands.

Affected versions of this package are vulnerable to Remote Code Execution. 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?

There is no fixed version for imagickal.

*