Arbitrary Code Injection Affecting rubygems package, versions <3.2.0~rc.1-1


Severity

Recommended
low

Based on Debian security rating.

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-DEBIAN12-RUBYGEMS-1559339
  • published31 Aug 2017
  • disclosed31 Aug 2017

Introduced: 31 Aug 2017

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

How to fix?

Upgrade Debian:12 rubygems to version 3.2.0~rc.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygems package and not the rubygems package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.