7.5

CVE-2023-3040: Out of Bounds Access Leading to Undefined Behavior

Modified
Published 14-06-2023Last modified 02-01-2025

Vulnerability summary

CVE-2023-3040 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in cloudflare lua-resty-json. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 54.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.71%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 14-06-2023
    PublishedVulnerability first disclosed.
  2. 02-01-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.71%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.71% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Cloudflare1 product

1 vendor · 1 product

References

2 links