Home / Openresty / Openresty / CVE-2024-39702
CVE-2024-39702: is it exploited, and which versions of Openresty are affected and fixed?
CVE-2024-39702 is a denial of service through slow algorithm vulnerability in Openresty. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: openresty from 1.19.3.1 before 1.19.9.2, openresty from 1.21.4.1 before 1.21.4.4 and openresty 1.25.3.1 (NVD). Fixed in 1.19.9.2 and 1.21.4.4 (NVD). Severity: Medium (5.9, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:28 UTC.
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.
From the CVE record by mitre, last updated November 26, 2024, 17:58 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openresty | openresty | from 1.19.3.1 before 1.19.9.2 | application |
| openresty | openresty | from 1.21.4.1 before 1.21.4.4 | application |
| openresty | openresty | 1.25.3.1 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:42 UTC.
How severe is CVE-2024-39702?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-39702 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 24, 2024)
- EPSS
- 0.56% probability of exploitation activity in the next 30 days, percentile 47.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-407 Inefficient Algorithmic Complexity
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- June 27, 2024
- Published
- July 23, 2024, 00:00 UTC
- CVE record updated
- November 26, 2024, 17:58 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 07:42 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Openresty?
- Jul 10, 2026CVE-2026-55233 openresty: out-of-bounds write (memory corruption)
- Apr 12, 2020CVE-2020-11724 Openresty: HTTP request smuggling
- Apr 2, 2018CVE-2018-9230 Openresty: SQL injection disputed
Questions about CVE-2024-39702
Is CVE-2024-39702 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.56% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Openresty are affected by CVE-2024-39702?
openresty from 1.19.3.1 before 1.19.9.2, openresty from 1.21.4.1 before 1.21.4.4 and openresty 1.25.3.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2024-39702?
1.19.9.2 and 1.21.4.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-39702?
Medium (5.9, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-39702?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.