Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 445126

Summary: <dev-java/jruby-1.7.1: Hash collision DoS (CVE-2012-5370)
Product: Gentoo Security Reporter: GLSAMaker/CVETool Bot <glsamaker>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: java, ruby
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B3 [noglsa cve]
Package list:
Runtime testing required: ---
Bug Depends on: 442230    
Bug Blocks:    

Description GLSAMaker/CVETool Bot gentoo-dev 2012-11-28 23:03:15 UTC
CVE-2012-5370 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-5370):
  JRuby 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 the MurmurHash2 algorithm, a
  different vulnerability than CVE-2011-4838.
Comment 1 Hans de Graaff gentoo-dev Security 2013-12-22 16:23:40 UTC
As far as I can tell this is fixed in jruby 1.7.1, but we are still providing 1.6.x.
Comment 2 Hans de Graaff gentoo-dev Security 2014-09-02 05:35:03 UTC
jruby 1.6 is now masked for removal.
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-09-02 07:29:23 UTC
(In reply to Hans de Graaff from comment #2)
> jruby 1.6 is now masked for removal.

Thank you
Comment 4 Hans de Graaff gentoo-dev Security 2015-07-10 06:32:25 UTC
jruby 1.6.x was removed some time ago.
Comment 5 Aaron Bauman (RETIRED) gentoo-dev 2016-02-21 10:34:19 UTC
Per previous comments the vulnerable version was removed.  Following links verify that:

http://jruby.org/2012/12/03/jruby-1-7-1

https://bugzilla.redhat.com/show_bug.cgi?id=880671