Staging Environment:
Content and features may be unstable or change without notice.
Advisory Weakness Curation
CVE-2013-4489
Progress
0 / 0
Advisory Summaries
github_osv/GHSA-95xq-v4m2-fq3r
GitLab Grit Gem for Ruby contains a flaw allowing arbitrary commands to be executed
The Grit gem for Ruby, as used in GitLab 5.2 before 5.4.1 and 6.x before 6.2.3, allows remote authenticated users to execute arbitrary commands, as demonstrated by the search box for the GitLab code search feature.
GitLab Grit Gem for Ruby contains a flaw in the app/contexts/search_context.rb script. The issue is triggered when input passed via the code search box is not properly sanitized, which allows strings to be evaluated by the shell. This may allow a remote attacker to execute arbitrary commands.
gitlab/gem/gitlab-grit/CVE-2013-4489
Repository#grep accepts Unix pipes by default
See CVE-2013-4489 advisory for GitLab: Remote code execution vulnerability in the code search feature http://seclists.org/oss-sec/2013/q4/224