VDB
Sign up
HIGH8.8

GHSA-q97v-764g-r2rp

gollum and gollum-lib allow remote authenticated users to execute arbitrary code

Quick fix

GHSA-q97v-764g-r2rp — gollum: upgrade to the fixed version with the command below.

bundle update gollum

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/gollum
Introduced in: 0Fixed in: 3.1.1
Fixbundle update gollum
RubyGems/gollum-lib
Introduced in: 0Fixed in: 4.0.1
Fixbundle update gollum-lib

References