Cryptographic Issues Affecting ruby package, versions [,1.9.3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.67% (80th 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-2370205
  • published26 Jan 2022
  • disclosed28 Nov 2012
  • creditUnknown

Introduced: 28 Nov 2012

CVE-2012-5371  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade ruby to version 1.9.3 or higher.

Overview

Affected versions of this package are vulnerable to Cryptographic Issues. Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 computes hash values without properly restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table, as demonstrated by a universal multicollision attack against a variant of the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4815.

References

CVSS Scores

version 3.1