gollum-grit_adapter Search Functionality Allows Arbitrary Command Execution
The gollum-grit_adapter gem contains a flaw that can allow arbitrary
Grit implements its search functionality by shelling out to `git grep`. In
turn, `git grep` takes a `-O` or `--open-files-in-pages` option that will
pipe the results of `grep` to an arbitrary process. By failing to properly
sanitize user input search parameters, an attacker can thus perform command
Note that the grep result must find the string 'master' (or
whatever is the default branch that gollum uses) in any of the wiki's
documents for this to succeed.
Am I vulnerable?
The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.
Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.Sign up for monitoring
Affected package information
|Package||Patched in||Unaffected in|