Security mailing lists by PureSourceCode

CVE-2012-5371

MEDIUM 5.0CVSS 2.0

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.

Published
28 Nov 2012
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-310
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:p286:*:*:*:*:*:*
<= 1.9.3
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
= 1.9
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
= 1.9.1
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
= 1.9.2
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
= 1.9.3
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*
= 1.9.3
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*
= 1.9.3
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*
= 1.9.3
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
= 2.0

References

History

  • 25 Nov 2026 20:17 UTC · NVD: first stored (published 28 Nov 2012)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.