CVE-2019-6706 in Canonical Ubuntu Linux and 1 more product
Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-6706 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-159759-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2019-01-23 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
Lua 5.3.5 contains a use-after-free vulnerability in the lua_upvaluejoin function within lapi.c, which could lead to a crash or potentially more severe code execution issues when an attacker can manipulate the arguments to debug.upvaluejoin.
An attacker can exploit this vulnerability by carefully crafting the arguments passed to the debug.upvaluejoin function, leading to a use-after-free condition. This could be achieved in environments where Lua scripts are executed with elevated privileges or in contexts where user input is not properly sanitized.
Questions
What is CVE-2019-6706?
Lua 5.3.5 contains a use-after-free vulnerability in the lua_upvaluejoin function within lapi.c, which could lead to a crash or potentially more severe code execution issues when an attacker can manipulate the arguments to debug.upvaluejoin.
What is the CVSS score for CVE-2019-6706?
CVE-2019-6706 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 17.4%.
Is CVE-2019-6706 actively exploited?
Public exploit available for CVE-2019-6706. Exploitation risk elevated.
How do I remediate CVE-2019-6706?
Priority: HIGH.
What systems are affected by CVE-2019-6706?
CVE-2019-6706 affects Canonical Ubuntu Linux; Lua Lua.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.