Skip to content

JRuby denial of service via Hash Collision

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Aug 29, 2023

Package

maven org.jruby:jruby-parent (Maven)

Affected versions

< 1.7.1

Patched versions

1.7.1

Description

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.

References

Published by the National Vulnerability Database Nov 28, 2012
Published to the GitHub Advisory Database May 17, 2022
Reviewed Aug 29, 2023
Last updated Aug 29, 2023

Severity

Moderate

EPSS score

0.233%
(61st percentile)

Weaknesses

CVE ID

CVE-2012-5370

GHSA ID

GHSA-fmmq-j7pq-f85c

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.