{"id":"GHSA-q97v-764g-r2rp","summary":"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.","aliases":["CVE-2014-9489"],"modified":"2023-11-10T05:39:00.625618Z","published":"2017-11-16T01:47:37Z","database_specific":{"cwe_ids":["CWE-284"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:51:32Z","nvd_published_at":"2017-10-17T14:29:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-9489"},{"type":"WEB","url":"https://github.com/gollum/gollum/issues/913"},{"type":"WEB","url":"https://github.com/gollum/grit_adapter/commit/4520d973c81fecfebbeacd2ef2f1849d763951c7"},{"type":"PACKAGE","url":"https://github.com/gollum/gollum"},{"type":"WEB","url":"https://web.archive.org/web/20200229041306/http://www.securityfocus.com/bid/71499"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/01/03/19"}],"affected":[{"package":{"name":"gollum","ecosystem":"RubyGems","purl":"pkg:gem/gollum"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1"}]}],"versions":["1.0.0","1.0.1","1.1.0","1.1.1","1.2.0","1.2.1","1.3.0","1.3.1","1.4.2","1.4.3","2.0.0","2.1.0","2.1.10","2.1.2","2.1.3","2.1.4","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.3.10","2.3.11","2.3.12","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.1","2.4.10","2.4.11","2.4.12","2.4.13","2.4.14","2.4.15","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","2.5.0","2.5.1","2.5.2","2.6.0","2.7.0","3.0.0","3.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/11/GHSA-q97v-764g-r2rp/GHSA-q97v-764g-r2rp.json"}},{"package":{"name":"gollum-lib","ecosystem":"RubyGems","purl":"pkg:gem/gollum-lib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.1"}]}],"versions":["0.0.1","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","2.0.0","3.0.0","4.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/11/GHSA-q97v-764g-r2rp/GHSA-q97v-764g-r2rp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}