Description
The gollum-grit_adapter Ruby gem dependency in gollum before 3.1.1 and the gollum-lib gem dependency in gollum-lib before 4.0.1 when the string "master" is in any of the wiki documents, allows remote authenticated users to execute arbitrary code via the -O or --open-files-in-pager flags.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | gollum | < 3.1.1 | 3.1.1 | GHSA-q97v-764g-r2rp |
| RubyGems | gollum-lib | < 4.0.1 | 4.0.1 | GHSA-q97v-764g-r2rp |