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

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% (42nd 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)

More vulnerabilities in Openresty

All CVEs affecting Openresty →

Other CWE-407 vulnerabilities

Browse all CWE-407 vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: