CVE-2023-3040
published low CVSS 3.1 · 3.7Out of Bounds Access Leading to Undefined Behavior
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cloudflare | — | lua-resty-json1 to < 14 (affected · git); changes: unaffected at 14 · Other versions: unaffected · Platforms: Windows, Linux, MacOS, x86, 64 bit, 32 bit | Version-specific | Not stated | cloudflare |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- cloudflare · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cloudflare | lua-resty-json | 1 to < 14 (affected · git); changes: unaffected at 14Default: unaffected | cloudflare · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
2Provider assertions
3cloudflare · cna
Out of Bounds Access Leading to Undefined Behavior
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c4d0e781913c7c34ebc1f8fda4038b85846e85ad3ee778fcef80d34cc8939e7c
- Ingested
- 23 Sep 2026, 08:10:53 UTC
- Source record
- Official CVE record