Property
Languageocaml
Severitylow
CWECWE-399: Resource Management Errors (4.12)
Confidence LevelLow
Impact LevelLow
Likelihood LevelLow

Description#

Creating a Hashtbl without enabling randomization makes it vulnerable to predictable hash collisions. This can allow attackers to intentionally create many keys that hash to the same value, slowing down table operations.

Impact#

If exploited, an attacker could degrade application performance or cause a denial of service by overloading the hash table, leading to slow responses or unavailability. This can affect the reliability and responsiveness of your service.