You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgetting quote variables in shell script leading to many security implications. I took a look at pacapt source code and saw one issue. Currently, if you run:
Forgetting quote variables in shell script leading to many security implications. I took a look at
pacapt
source code and saw one issue. Currently, if you run:then it push server to heavy load, even if mightiest servers. Imaging some commands like this ran and what will happen?
The issue came from
lib/zz_main.sh
, line 17::
is the no-op command, butPACAPT_DEBUG
still be expanded. And because it's unquoted,split
andglob
were invoked.I have made a pull request to fix this, you can look here
The text was updated successfully, but these errors were encountered: