-
Notifications
You must be signed in to change notification settings - Fork 87
huntr - Remote Code Execution Fix #60
base: master
Are you sure you want to change the base?
Conversation
Merging fix on-behalf of @mufeedvh (035-js-node-pdf-image).
I am generally against I would suggest rather than rejecting this, you should strip them out from the command and run with the characters stripped out. Additionally, this needs tests to prove that it doesn't interfere with legitimate uses of this libary. |
@JamieSlome i'm confused that this was fixed somewhere on a fork first? ¯_(ツ)_/¯ Yeah, there is a remote code execution issue here, but the risk is pretty low I feel -- you'd have to be passing in non-sanitized input from a remote source to invoke this. If the OP would update their PR with the requested changes I'd be happy to merge it, although I do not have publish permissions on npm for this package. |
@toddself - it was fixed through the huntr bug bounty platform. We request users to fork "our fork" to then do quality checks on the submitted security fixes. We can await comments and updates from the original contributor and go from there! 🍰 |
https://app.huntr.dev/users/mufeedvh has fixed a security vulnerability (Remote Code Execution) 🔨. mufeedvh has been awarded $25 for fixing the vulnerability through the huntr bug bounty program 💵. Think you could fix a vulnerability like this? Get involved at https://huntr.dev/!
Q | A
Version Affected | ALL
Bug Fix | YES
Original Pull Request | 418sec#1