CVE-2012-0839 Denial of service in n/a

Medium 5.0 Published Updated

Attackers can cause denial of service via CPU exhaustion by triggering predictable hash collisions in OCaml applications using hash tables.

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

What is CVE-2012-0839?

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

Official description

OCaml 3.12.1 and earlier 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-20

Which versions are affected by CVE-2012-0839?

It affects 1 product.

Products include Inria Ocaml.

How do I fix CVE-2012-0839?

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-2012-0839 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-0839, GHSA-7mh4-c5mx-6jq7.

Is CVE-2012-0839 in your software?

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

Check your SBOMs for free