CVE-2024-39702: openresty Inefficient Algorithmic Complexity
Vulnerability summary
CVE-2024-39702 is a medium (CVSS 5.9) Inefficient Algorithmic Complexity vulnerability in openresty. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 45.2% of scored vulnerabilities.
Timeline
- 23-07-2024PublishedVulnerability first disclosed.
- 26-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
0.00 pp
From 0.56% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Openresty1 product
- openresty≥ 1.19.3.1, < 1.19.9.2 | ≥ 1.21.4.1, < 1.21.4.4 | 1.25.3.1
1 vendor · 1 product