sync-exec@0.5.0 vulnerabilities

Synchronous exec with status code support. Requires no external dependencies, no need for node-gyp compilations etc.

Direct Vulnerabilities

Known vulnerabilities in the sync-exec 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
  • M
Insecure use of Tmp files

sync-exec is an fs.execSync replacement for node <0.12.

Affected versions of this package use tmp directories in an insecure way. The file to create will allways return true, regardess if the directory already exists and/or belongs to another user. Any user on the server may read the contents of this tmp file and may expose confidential information to an attacker.

How to fix Insecure use of Tmp files?

There is no fix version for sync-exec.

*