Skip to content
OpenAdvisories
Medium CVE-2012-5370 EUVD-2022-3805GHSA-fmmq-j7pq-f85c

JRuby denial of service via Hash Collision

Published Nov 28, 2012 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jruby 1.5.6-5 —
Debian 13 jruby 1.5.6-5 —
Debian 12 jruby 1.5.6-5 —
Debian 6.0 jruby 1.5.1-1+deb6u1 DLA-209-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jruby:jruby-parent < 1.7.1 1.7.1 GHSA-fmmq-j7pq-f85c

Advisories 1

References