CVE-2011-5036 — jruby-parent
CVE-2011-5036 is a CWE-310 vulnerability in org.jruby:jruby-parent. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.jruby:jruby-parent — see the affected versions and patch details below.
Rack Gem Subject to Denial of Service via Hash Collisions
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.jruby:jruby-parent💎rack💎rack💎rackReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven, RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
Rack before 1.1.3, 1.2.x before 1.2.5, and 1.3.x before 1.3.6 computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted parameters.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jruby:jruby-parent | all versions | 1.6.5.1org.jruby:jruby-parent:1.6.5.1 |
| 💎RubyGems | rack | all versions | 1.1.3bundle update rack --conservative |
| 💎RubyGems | rack | ≥ 1.2.0&&< 1.2.5 | 1.2.5bundle update rack --conservative |
| 💎RubyGems | rack | ≥ 1.3.0&&< 1.3.6 | 1.3.6bundle update rack --conservative |
Affected Products
rackrack_projectResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jruby:jruby-parent, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jruby:jruby-parent to 1.6.5.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2011-5036 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2011-5036 in your dependencies?
Find it across Maven, RubyGems, including transitive dependencies.