All reports
Medium

OpenResty: Hashing function allows HashDoS (Hash Denial of Service) attacks

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-39702

Probability of exploitation in the next 30 days: 0.56%

FIRST EPSS · 2026-11-19

Description

In lj_str_hash.c in OpenResty 1.19.3.1 through 1.25.3.1, the string hashing function (used during string interning) allows HashDoS (Hash Denial of Service) attacks. An attacker could cause excessive resource usage during proxy operations via crafted requests, potentially leading to a denial of service with relatively few incoming requests. This vulnerability only exists in the OpenResty fork in the openresty/luajit2 GitHub repository. The LuaJIT/LuaJIT repository. is unaffected.

A flaw was found in the OpenResty package. Affected versions of this package are vulnerable to denial of service (DoS) through the string hashing function. This flaw allows an attacker to cause excessive resource usage and potentially lead to a denial of service with relatively few incoming requests.