CVE-2022-24736
A Malformed Lua script can crash Redis
5.5
MEDIUM
CVSS 3.1
EPSS 1.7%
Description
Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.
How to fix CVE-2022-24736
To remediate CVE-2022-24736, upgrade the affected package to a fixed version below.
- —upgrade to 6.2.7-r0 or later
- —upgrade to 6.2.7 or later
- —upgrade to 6.2.7 or later
- —upgrade to 6.2.7 or later
- —no fix listed
Is CVE-2022-24736 being exploited?
Low — EPSS is 1.7%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 6.2.7-r0
- from 0, < 6.2.7
- from 0, < 6.2.7
- from 0, < 6.2.7
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |