Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. lua
  4. ›
  5. CVE-2022-28805

CVE-2022-28805: Out-of-bounds Read

April 8, 2022 (updated November 9, 2023)

singlevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.

References

  • github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa
  • lua-users.org/lists/lua-l/2022-02/msg00001.html
  • lua-users.org/lists/lua-l/2022-02/msg00070.html
  • lua-users.org/lists/lua-l/2022-04/msg00009.html
  • nvd.nist.gov/vuln/detail/CVE-2022-28805

Code Behaviors & Features

Detect and mitigate CVE-2022-28805 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.4.0 up to 5.4.4

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

conan/lua/CVE-2022-28805.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.