Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jruby/jruby-parent
  4. ›
  5. CVE-2012-5370

CVE-2012-5370: JRuby denial of service via Hash Collision

May 17, 2022 (updated August 29, 2023)

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

  • jruby.org/2012/12/03/jruby-1-7-1
  • rhn.redhat.com/errata/RHSA-2013-0533.html
  • bugzilla.redhat.com/show_bug.cgi?id=880671
  • github.com/advisories/GHSA-fmmq-j7pq-f85c
  • github.com/jruby/jruby/commit/5e4aab28b26fd127112b76fabfac9a33b64caf77
  • nvd.nist.gov/vuln/detail/CVE-2012-5370

Code Behaviors & Features

Detect and mitigate CVE-2012-5370 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.7.1

Fixed versions

  • 1.7.1

Solution

Upgrade to version 1.7.1 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:N/I:N/A:P

Learn more about CVSS

Weakness

  • CWE-310

Source file

maven/org.jruby/jruby-parent/CVE-2012-5370.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:51 +0000.