CVE-2023-3040: cloudflare lua-resty-json Out-of-bounds Read
Vulnerability summary
CVE-2023-3040 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in cloudflare lua-resty-json. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.7% of scored vulnerabilities.
Timeline
- 14-06-2023PublishedVulnerability first disclosed.
- 02-01-2025Last modifiedVulnerability information updated.
Description
A debug function in the lua-resty-json package, up to commit id 3ef9492bd3a44d9e51301d6adc3cd1789c8f534a (merged in PR #14) contained an out of bounds access bug that could have allowed an attacker to launch a DoS if the function was used to parse untrusted input data. It is important to note that because this debug function was only used in tests and demos, it was not exploitable in a normal environment.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
0.00 pp
From 0.71% on 20-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
Cloudflare1 product
- lua-resty-json≥ 1, < 14 | < 2023-05-05
1 vendor · 1 product
References
2 links- github.com/cloudflare/lua-resty-json/security/advisories/GHSA-h8rp-9622-83pgPatchThird Party Advisory