UBUNTU-CVE-2022-28805

Source
https://ubuntu.com/security/CVE-2022-28805
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28805.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-28805
Related
Published
2022-04-08T06:15:00Z
Modified
2024-10-15T14:09:54Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 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

Affected packages

Ubuntu:22.04:LTS / lua5.4

Package

Name
lua5.4
Purl
pkg:deb/ubuntu/lua5.4?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.4.2-2
5.4.3-1
5.4.4-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:22.04:LTS / lua5.4

Package

Name
lua5.4
Purl
pkg:deb/ubuntu/lua5.4?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.4-1ubuntu0.1~esm1

Affected versions

5.*

5.4.2-2
5.4.3-1
5.4.4-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.4.4-1ubuntu0.1~esm1",
            "binary_name": "liblua5.4-0"
        },
        {
            "binary_version": "5.4.4-1ubuntu0.1~esm1",
            "binary_name": "liblua5.4-0-dbg"
        },
        {
            "binary_version": "5.4.4-1ubuntu0.1~esm1",
            "binary_name": "liblua5.4-dev"
        },
        {
            "binary_version": "5.4.4-1ubuntu0.1~esm1",
            "binary_name": "lua5.4"
        }
    ]
}