Out-of-bounds Read in Cloudflare Lua-Resty-Json

CVE-2023-3040

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.

Vulnerability class: Buffer Overflow

EPSS: 0.007 (49.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-3040?
CVE-2023-3040 is a low-severity vulnerability in Cloudflare Lua-Resty-Json, classified under Out-of-bounds Read. CVSS score: 3.7/10. Published 2023-06-14.
How severe is CVE-2023-3040?
Low severity. CVSS v3 base score is 3.7 out of 10.