CVE-2022-24834
Published: 13 July 2023
Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.
Priority
Status
Package | Release | Status |
---|---|---|
redis Launchpad, Ubuntu, Debian |
bionic |
Released
(5:4.0.9-1ubuntu0.2+esm4)
Available with Ubuntu Pro |
focal |
Released
(5:5.0.7-2ubuntu0.1+esm2)
Available with Ubuntu Pro |
|
jammy |
Released
(5:6.0.16-1ubuntu1+esm1)
Available with Ubuntu Pro |
|
kinetic |
Ignored
(end of life, was needs-triage)
|
|
lunar |
Ignored
(end of life, was needs-triage)
|
|
mantic |
Needs triage
|
|
noble |
Needs triage
|
|
trusty |
Released
(2:2.8.4-2ubuntu0.2+esm3)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Released
(5:7.0.12-1)
|
|
xenial |
Released
(2:3.0.6-1ubuntu0.4+esm2)
Available with Ubuntu Pro |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 8.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
- https://raw.githubusercontent.com/redis/redis/7.0/00-RELEASENOTES
- https://github.com/redis/redis/commit/936cfa464f371666c46bff59f7c4247d48973ec6 (7.2-rc3)
- https://github.com/redis/redis/commit/f6a7c9f9ec9354702cc3143310a24bf3d1507b03 (7.0.12)
- https://github.com/redis/redis/pull/12398
- https://access.redhat.com/security/cve/CVE-2022-24834
- https://ubuntu.com/security/notices/USN-6531-1
- https://www.cve.org/CVERecord?id=CVE-2022-24834
- NVD
- Launchpad
- Debian