cve/2012/CVE-2012-0839.md

18 lines
772 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2012-0839](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0839)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20n%2Fa%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- http://www.ocert.org/advisories/ocert-2011-003.html
#### Github
- https://github.com/andir/nixos-issue-db-example