CVE-2023-3040

Out of Bounds Access Leading to Undefined Behavior

HIGH
7.5
CVSS Score
Published: June 14, 2023 at 11:54 AM UTC
Updated: June 17, 2026 at 06:13 AM UTC
1 product affected across 1 vendorLua Resty JSON

Using lua-resty-json by Cloudflare?

Get instant alerts when new vulnerabilities affect lua-resty-json - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2023-05-051 ≤ v < 141
Affected range stops below 14, so it looks safe — our inference, not a vendor statement
Affected range stops below 2023-05-05, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card