CVE-2024-39702
CVE-2024-39702 is a medium-severity vulnerability in Openresty with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-407.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 1% (44th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-38330
- Weakness: CWE-407
- Affected product: Openresty
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-39702?
- 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.
- How severe is CVE-2024-39702?
- CVE-2024-39702 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-39702 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (44th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-39702?
- CVE-2024-39702 primarily affects Openresty. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-39702?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-39702 have an EU (EUVD) identifier?
- Yes. CVE-2024-39702 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-38330.
- When was CVE-2024-39702 published?
- CVE-2024-39702 was published on 2024-07-23 and last updated on 2026-06-17.
References
Affected products (2)
- cpe:2.3:a:openresty:openresty:*:*:*:*:*:*:*:*
- cpe:2.3:a:openresty:openresty:1.25.3.1:*:*:*:*:*:*:*
More vulnerabilities in Openresty
- CVE-2018-9230 — Critical (CVSS 9.8): In OpenResty through 1.13.6.1, URI parameters are obtained using the ngx.req.get_uri_args and ngx.req.get_post_args…
- CVE-2021-23017 — High (CVSS 7.7): A security issue in nginx resolver was identified, which might allow an attacker who is able to forge UDP packets from…
- CVE-2026-55233 — High (CVSS 7.5): OpenResty is a high performance web platform. From 1.29.2.1 to before 1.29.2.5, an out-of-bounds write vulnerability…
- CVE-2023-44487 — High (CVSS 7.5): The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset…
- CVE-2020-11724 — High (CVSS 7.5): An issue was discovered in OpenResty before 1.15.8.4. ngx_http_lua_subrequest.c allows HTTP request smuggling, as…
All CVEs affecting Openresty →
Other CWE-407 vulnerabilities
- CVE-2026-94658 — High (CVSS 8.7): Inefficient Algorithmic Complexity vulnerability in Apache Thrift Lua bindings. This issue affects Apache Thrift:…
- CVE-2026-103604 — High (CVSS 8.7): Inefficient algorithmic complexity in X.509 distinguished name string conversion (X509Name.ToString and…
- CVE-2026-49250 — High (CVSS 8.7): Conform, a type-safe form validation library, allows the parsing of nested objects in the form of object.property. From…
- CVE-2026-83613 — High (CVSS 8.7): xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to…
- CVE-2026-54284 — High (CVSS 8.7): sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion…
- CVE-2026-65623 — High (CVSS 8.7): Inefficient Algorithmic Complexity vulnerability in mtrudel bandit allows unauthenticated remote denial of service via…
Browse all CWE-407 vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 221.224.194.3 (ipv4-addr)
- 47.97.112.136 (ipv4-addr)
- 217.160.225.198 (ipv4-addr)
- 148.113.203.117 (ipv4-addr)
- 66.171.91.127 (ipv4-addr)
- 8.215.3.250 (ipv4-addr)
- 8.211.195.139 (ipv4-addr)
- 47.251.87.199 (ipv4-addr)