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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ocaml | 4.00.0~beta2-1 | — |
| Debian 13 | ocaml | 4.00.0~beta2-1 | — |
| Debian 12 | ocaml | 4.00.0~beta2-1 | — |
References
- http://www.nruns.com/_downloads/advisory28122011.pdf
- [caml-list] 20111230 Hashtbl and security mailing-list
- 47853 third-party-advisory
- [caml-list] 20111230 Re: Hashtbl and security mailing-list
- [oss-security] 20120206 Re: CVE request: Hash DoS vulnerability (ocert-2011-003) mailing-list
- [oss-security] 20120206 CVE request: Hash DoS vulnerability (ocert-2011-003) mailing-list
- http://www.ocert.org/advisories/ocert-2011-003.html