Gentoo Logo

JRuby: Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201207-06 / jruby
Release Date July 09, 2012
Latest Revision July 09, 2012: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-java/jruby < >= All supported architectures

Related bugreports: #396305


A hash collision vulnerability in JRuby allows remote attackers to cause a Denial of Service condition.

2.  Impact Information


JRuby is a Java-based Ruby interpreter implementation.


JRuby does not properly randomize hash functions to protect against hash collision attacks.


A remote attacker could send a specially crafted input, possibly resulting in a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All JRuby users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-java/jruby-"

4.  References


Page updated July 09, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.