CVE-2011-4838 Denial of service in n/a

Medium 5.0 Published Updated

Attackers can cause CPU exhaustion and denial of service in JRuby applications by sending crafted input that triggers predictable hash collisions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-4838?

CVE-2011-4838 is a medium-severity denial of service vulnerability in n/a, published on 30 Dec 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

JRuby before 1.6.5.1 computes hash values without 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.

Weakness: CWE-400

Which versions are affected by CVE-2011-4838?

It affects 1 product.

Products include Jruby Jruby.

How do I fix CVE-2011-4838?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2011-4838 being exploited?

There is no known exploitation of CVE-2011-4838 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2011-4838, GHSA-cgqc-fqxr-q6r6.

Is CVE-2011-4838 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free