Arbitrary Code Injection Affecting rubygems-update package, versions <2.6.13


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.43% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RUBYGEMSUPDATE-472643
  • published13 Nov 2019
  • disclosed27 Aug 2017
  • creditunknown

Introduced: 27 Aug 2017

CVE-2017-0899  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade rubygems-update to version 2.6.13 or higher.

Overview

rubygems-update is an inbuilt rubygem for updating rubygems.

Affected versions of this package are vulnerable to Arbitrary Code Injection. Is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.

CVSS Scores

version 3.1