usn-8169-1
Vulnerability from osv_ubuntu
It was discovered that Redis incorrectly handled certain specially crafted Lua scripts. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue was only addressed in lua5.1 on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2025-49844)
It was discovered that Redis incorrectly handled certain specially crafted Lua scripts. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue was only addressed in lua-bitop on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS and in redis on Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 24.04 LTS. (CVE-2024-31449)
Seiya Nakata and Yudai Fujiwara discovered that Redis incorrectly handled certain specially crafted Lua scripts. An attacker could possibly use this issue to cause heap corruption and execute arbitrary code. This issue was only addressed in lua-cjson on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-24834)
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "redis-sentinel",
"binary_version": "2:3.0.6-1ubuntu0.4+esm5"
},
{
"binary_name": "redis-server",
"binary_version": "2:3.0.6-1ubuntu0.4+esm5"
},
{
"binary_name": "redis-tools",
"binary_version": "2:3.0.6-1ubuntu0.4+esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "redis",
"purl": "pkg:deb/ubuntu/redis@2:3.0.6-1ubuntu0.4+esm5?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:3.0.6-1ubuntu0.4+esm5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:3.0.3-3",
"2:3.0.5-1",
"2:3.0.5-2",
"2:3.0.5-3",
"2:3.0.5-4",
"2:3.0.6-1",
"2:3.0.6-1ubuntu0.2",
"2:3.0.6-1ubuntu0.3",
"2:3.0.6-1ubuntu0.4",
"2:3.0.6-1ubuntu0.4+esm1",
"2:3.0.6-1ubuntu0.4+esm2",
"2:3.0.6-1ubuntu0.4+esm3",
"2:3.0.6-1ubuntu0.4+esm4"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "redis",
"binary_version": "5:4.0.9-1ubuntu0.2+esm7"
},
{
"binary_name": "redis-sentinel",
"binary_version": "5:4.0.9-1ubuntu0.2+esm7"
},
{
"binary_name": "redis-server",
"binary_version": "5:4.0.9-1ubuntu0.2+esm7"
},
{
"binary_name": "redis-tools",
"binary_version": "5:4.0.9-1ubuntu0.2+esm7"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "redis",
"purl": "pkg:deb/ubuntu/redis@5:4.0.9-1ubuntu0.2+esm7?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5:4.0.9-1ubuntu0.2+esm7"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:4.0.1-7",
"4:4.0.2-6",
"4:4.0.2-9",
"5:4.0.5-1",
"5:4.0.6-1",
"5:4.0.6-2",
"5:4.0.7-1",
"5:4.0.8-1",
"5:4.0.8-2",
"5:4.0.9-1",
"5:4.0.9-1ubuntu0.1",
"5:4.0.9-1ubuntu0.2",
"5:4.0.9-1ubuntu0.2+esm2",
"5:4.0.9-1ubuntu0.2+esm3",
"5:4.0.9-1ubuntu0.2+esm4",
"5:4.0.9-1ubuntu0.2+esm5",
"5:4.0.9-1ubuntu0.2+esm6"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2022-24834",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2025-49844",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "liblua5.1-bitop0",
"binary_version": "1.0.2-5ubuntu0.20.04.1~esm2"
},
{
"binary_name": "lua-bitop",
"binary_version": "1.0.2-5ubuntu0.20.04.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "lua-bitop",
"purl": "pkg:deb/ubuntu/lua-bitop@1.0.2-5ubuntu0.20.04.1~esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.2-5ubuntu0.20.04.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.2-5"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2022-24834",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2025-49844",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "lua-cjson",
"binary_version": "2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "lua-cjson",
"purl": "pkg:deb/ubuntu/lua-cjson@2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1.0+dfsg-2.1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2022-24834",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2025-49844",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "liblua5.1-0",
"binary_version": "5.1.5-8.1ubuntu0.20.04.1~esm1"
},
{
"binary_name": "lua5.1",
"binary_version": "5.1.5-8.1ubuntu0.20.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "lua5.1",
"purl": "pkg:deb/ubuntu/lua5.1@5.1.5-8.1ubuntu0.20.04.1~esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.5-8.1ubuntu0.20.04.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.1.5-8.1build3",
"5.1.5-8.1build4"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2022-24834",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2025-49844",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "liblua5.1-bitop0",
"binary_version": "1.0.2-5ubuntu0.22.04.1~esm2"
},
{
"binary_name": "lua-bitop",
"binary_version": "1.0.2-5ubuntu0.22.04.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "lua-bitop",
"purl": "pkg:deb/ubuntu/lua-bitop@1.0.2-5ubuntu0.22.04.1~esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.2-5ubuntu0.22.04.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.2-5"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2022-24834",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2025-49844",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "lua-cjson",
"binary_version": "2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "lua-cjson",
"purl": "pkg:deb/ubuntu/lua-cjson@2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1.0+dfsg-2.1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2022-24834",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2025-49844",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "liblua5.1-0",
"binary_version": "5.1.5-8.1ubuntu0.22.04.1~esm1"
},
{
"binary_name": "lua5.1",
"binary_version": "5.1.5-8.1ubuntu0.22.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "lua5.1",
"purl": "pkg:deb/ubuntu/lua5.1@5.1.5-8.1ubuntu0.22.04.1~esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.5-8.1ubuntu0.22.04.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.1.5-8.1build4"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-31449",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "redis",
"binary_version": "5:7.0.15-1ubuntu0.24.04.4"
},
{
"binary_name": "redis-sentinel",
"binary_version": "5:7.0.15-1ubuntu0.24.04.4"
},
{
"binary_name": "redis-server",
"binary_version": "5:7.0.15-1ubuntu0.24.04.4"
},
{
"binary_name": "redis-tools",
"binary_version": "5:7.0.15-1ubuntu0.24.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "redis",
"purl": "pkg:deb/ubuntu/redis@5:7.0.15-1ubuntu0.24.04.4?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5:7.0.15-1ubuntu0.24.04.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5:7.0.12-1",
"5:7.0.14-1",
"5:7.0.14-2",
"5:7.0.15-1",
"5:7.0.15-1build1",
"5:7.0.15-1build2",
"5:7.0.15-1ubuntu0.24.04.1",
"5:7.0.15-1ubuntu0.24.04.2",
"5:7.0.15-1ubuntu0.24.04.3"
]
}
],
"aliases": [],
"details": "It was discovered that Redis incorrectly handled certain specially crafted\nLua scripts. A remote attacker could possibly use this issue to cause a\ndenial of service or execute arbitrary code. This issue was only addressed in\nlua5.1 on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2025-49844)\n\nIt was discovered that Redis incorrectly handled certain specially crafted\nLua scripts. A remote attacker could possibly use this issue to cause a\ndenial of service or execute arbitrary code. This issue was only addressed in\nlua-bitop on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS and in redis on Ubuntu\n16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 24.04 LTS. (CVE-2024-31449)\n\nSeiya Nakata and Yudai Fujiwara discovered that Redis incorrectly handled\ncertain specially crafted Lua scripts. An attacker could possibly use this\nissue to cause heap corruption and execute arbitrary code. This issue was only\naddressed in lua-cjson on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-24834)",
"id": "USN-8169-1",
"modified": "2026-06-25T10:47:37Z",
"published": "2026-04-13T13:18:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8169-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-24834"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-31449"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-49844"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "redis, lua5.1, lua-cjson, lua-bitop vulnerabilities",
"upstream": [
"UBUNTU-CVE-2022-24834",
"UBUNTU-CVE-2024-31449",
"UBUNTU-CVE-2025-49844"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.