Out-of-bounds Read Affecting cloudflare/lua-resty-json package, versions [,2023.05.05)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-CLOUDFLARELUARESTYJSON-5710964
  • published16 Jun 2023
  • disclosed16 Jun 2023
  • creditUnknown

Introduced: 16 Jun 2023

CVE-2023-3040  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade cloudflare/lua-resty-json to version 2023.05.05 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read when the dump_obj function was used to parse untrusted input data.

Note: Because this debug function was only used in tests and demos, it was not exploitable in a normal environment.

CVSS Base Scores

version 3.1