What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: Cloudflare Lua-Resty-Json 2023-05-05. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-3040 or the next vulnerability affects your stack