<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="201207-06"> <title>JRuby: Denial of service</title> <synopsis>A hash collision vulnerability in JRuby allows remote attackers to cause a Denial of Service condition. </synopsis> <product type="ebuild">jruby</product> <announced>2012-07-09</announced> <revised count="1">2012-07-09</revised> <bug>396305</bug> <access>remote</access> <affected> <package name="dev-java/jruby" auto="yes" arch="*"> <unaffected range="ge">1.6.5.1</unaffected> <vulnerable range="lt">1.6.5.1</vulnerable> </package> </affected> <background> <p>JRuby is a Java-based Ruby interpreter implementation.</p> </background> <description> <p>JRuby does not properly randomize hash functions to protect against hash collision attacks. </p> </description> <impact type="normal"> <p>A remote attacker could send a specially crafted input, possibly resulting in a Denial of Service condition. </p> </impact> <workaround> <p>There is no known workaround at this time.</p> </workaround> <resolution> <p>All JRuby users should upgrade to the latest version:</p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=dev-java/jruby-1.6.5.1" </code> </resolution> <references> <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4838">CVE-2011-4838</uri> </references> <metadata timestamp="2012-06-11T19:25:16Z" tag="requester">ackle</metadata> <metadata timestamp="2012-07-09T22:35:40Z" tag="submitter">ackle</metadata> </glsa>