ADVISORIES

GitHub Advisory Database

GHSA-q97v-764g-r2rp

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

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsgollum
All versions before 3.1.1 (fixed in 3.1.1)
RubyGemsgollum-lib
All versions before 4.0.1 (fixed in 4.0.1)

References