Cryptographic Issues Affecting ruby package, versions [,1.8.23.1)[1.8.0, 1.8.26)[2.0.0, 2.0.8)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.57% (88th 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-UNMANAGED-RUBY-2370161
  • published26 Jan 2022
  • disclosed17 Oct 2013
  • creditUnknown

Introduced: 17 Oct 2013

CVE-2013-4287  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade ruby to version 1.8.23.1, 1.8.26, 2.0.8 or higher.

Overview

Affected versions of this package are vulnerable to Cryptographic Issues. 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.

References

CVSS Scores

version 3.1