Cryptographic Issues Affecting rubygems package, versions <3.2.0~rc.1-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.57% (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 Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-RUBYGEMS-1559220
  • published16 Oct 2020
  • disclosed17 Oct 2013

Introduced: 17 Oct 2013

CVE-2013-4287  (opens in a new tab)
CWE-310  (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.

Algorithmic complexity vulnerability in Gem::Version::VERSION_PATTERN in lib/rubygems/version.rb in RubyGems before 1.8.23.1, 1.8.24 through 1.8.25, 2.0.x before 2.0.8, and 2.1.x before 2.1.0, as used in Ruby 1.9.0 through 2.0.0p247, allows remote attackers to cause a denial of service (CPU consumption) via a crafted gem version that triggers a large amount of backtracking in a regular expression.

CVSS Scores

version 3.1