Every CVE Search/ Get API key

CVE-2013-4489

GitLab Grit Gem for Ruby contains a flaw allowing arbitrary commands to be executed

6.5 MediumFix available

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.

Exploit likelihood

1.41%Up 0.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2013-4489
CVSS 2.0
6.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2013-4489
Updated
2026-11-02
EUVDEUVD-2022-3296 No score

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.

Record
EUVD-2022-3296
Updated
2026-11-03
GitHub AdvisoriesGHSA-95xq-v4m2-fq3r No score

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.

Record
GHSA-95xq-v4m2-fq3r
Weakness
CWE-20
Updated
2026-11-02
OSVGHSA-95xq-v4m2-fq3r No score

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.

Record
GHSA-95xq-v4m2-fq3r
Weakness
CWE-20
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gitlab-grit
RubyGems
before 2.6.1
2.6.1
gitlab-grit
RubyGems
before 2.6.1, plus listed versions
1.0.02.5.02.5.12.5.22.6.0
2.6.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2013-4489 is a medium vulnerability (CVSS 6.5) in Gitlab, published May 17, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. Fixed in gitlab-grit 2.6.1.

References

MoveEnter Open