7.5

CVE-2023-3040: cloudflare lua-resty-json Out-of-bounds Read

CVSS: 7.5v3.1HighModified
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 52.7% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.71%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

53%

Versus all other CVEs

30-day change

0.00 pp

From 0.71% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.71%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Cloudflare1 product

1 vendor · 1 product

References

2 links