CVE-2023-3040
LowCVSS 3.7Exploitation Probability (EPSS)
Low risk49th percentile — higher than 49% of all known CVEs
Summary
A debug function in the lua-resty-json package, up to commit id 3ef9492bd3a44d9e51301d6adc3cd1789c8f534a, contained an out of bounds access bug that could have allowed an attacker to launch a DoS when parsing untrusted input data. It is important to note that this debug function was only used in tests and demos.
Risk Assessment
The risk to the organization is limited as this function was not used in a normal production environment. However, if used in inappropriate conditions, it could lead to disruptions in system operation.
Recommendation
It is recommended to remove or block access to this debug function in the production environment and to monitor the use of the lua-resty-json package to ensure security.
Original NVD description (English source)
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.

