CVE
CVE-2021-45985
published high CVSS 3.1 · 7.5lua: heap-based buffer over-read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-533 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | luaaarch64 | Listed in advisory | Not stated | ALAS2023-2024-533 |
| Amazon Linux | AL2023 | luasrc | Listed in advisory | Not stated | ALAS2023-2024-533 |
| Amazon Linux | AL2023 | luax86_64 | Listed in advisory | Not stated | ALAS2023-2024-533 |
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-787 CWE-787 Out-of-bounds Write
References
3Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a12d5f59f1c98786b931c810a2021d3c4c4efe139b6ea2b6e9667c568ed129b4
- Ingested
- 23 Sep 2026, 07:56:57 UTC
- Source record
- Official CVE record