logo

CVE-2013-4489 gitlab-grit

Package

Manager: gem
Name: gitlab-grit
Vulnerable Version: >=0 <2.6.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00202 pctl0.42478

Details

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.

Metadata

Created: 2022-05-17T04:43:33Z
Modified: 2023-07-03T20:33:17Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-95xq-v4m2-fq3r/GHSA-95xq-v4m2-fq3r.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-95xq-v4m2-fq3r
Finding: F184
Auto approve: 1