Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. gollum-grit_adapter
  4. ›
  5. CVE-2014-9489

CVE-2014-9489: Remote Code Execution

October 17, 2017 (updated November 8, 2017)

In vulnerable versions of the gem, searching for the string -O<arbitrary command> or --open-files-in-pager <arbritary command> in the wiki’s search field will execute an arbitrary shell command. However, this will only work if the string “master” (or more precisely, the name of the git branch that gollum is using) is found in one of the wiki’s files: “master” is then interpreted as the search query, -O<arbitary code> as a command line option to git grep.

References

  • github.com/gollum/gollum/issues/913
  • github.com/gollum/grit_adapter/commit/4520d973c81fecfebbeacd2ef2f1849d763951c7

Code Behaviors & Features

Detect and mitigate CVE-2014-9489 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.1.1

Fixed versions

  • 0.1.1

Solution

Upgrade to version 0.1.1 or above.

Impact 8.8 HIGH

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

gem/gollum-grit_adapter/CVE-2014-9489.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.