What’s Vulnerable › Vulnerabilities
CVE-2024-39702
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-23 · updated 2026-06-17
- Weakness: CWE-407
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.
Affected products
- openresty: from 1.19.3.1 before 1.19.9.2; from 1.21.4.1 before 1.21.4.4; 1.25.3.1 — fixed in 1.19.9.2, 1.21.4.4
How to fix
Upgrade to a fixed version: openresty 1.19.9.2, 1.21.4.4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-39702 or the next vulnerability affects your stack