CVE-2023-3040

Out of Bounds Access Leading to Undefined Behavior

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.

Category

3.7
CVSS
Severity: Low
CVSS 3.1 •
EPSS 0.10%
Third-Party Advisory github.com
Affected: Cloudflare lua-resty-json
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-3040?
CVE-2023-3040 has been scored as a low severity vulnerability.
How to fix CVE-2023-3040?
To fix CVE-2023-3040, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-3040 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-3040 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-3040?
CVE-2023-3040 affects Cloudflare lua-resty-json.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.