CVE-2022-24736
A Malformed Lua script can crash Redis
CVE-2022-24736 is a null-pointer deref in Redis (CVSS 3.3, Low).
No known exploitation. EPSS puts it in the 58th percentile. A vendor fix is available.
No public exploit knownFixVendor fixNo build named by the sources
e.g. OID 1.3.6.1.4.1.25623.1.0.148021
What to do
The vendor has published a fix. Version details are below where the sources state them.
- RedisAffected: < 6.2.7Upgrade to: not statedAffected: < 7.0.0Upgrade to: not statedStated by: CVE record
- Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
- RusBITech-Astra Astra Linux Special EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU
- Red Hat Inc. Red Hat Enterprise LinuxAffected: 8Upgrade to: not statedStated by: BDU
- Fedora Project FedoraAffected: 34Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.9% chance of exploitation activity in the next 30 days, which ranks it in the 58th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 1520 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 3 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Scored 3.3 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity NoneNo integrity impact
- Availability LowReduced performance or intermittent disruption of service
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/redis/redis/pull/10651
- github.com/redis/redis/releases/tag/6.2.7
- github.com/redis/redis/releases/tag/7.0.0
And 17 more references. See all after sign-in
Questions about CVE-2022-24736
- Is CVE-2022-24736 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.9%.
- Which versions are affected by CVE-2022-24736?
- Redis: < 6.2.7; < 7.0.0. Debian GNU/Linux: 9. Astra Linux Special Edition: 1.6 «Smolensk». 2 more products are listed in the record.
- How do I fix or mitigate CVE-2022-24736?
- The vendor has published a fix. The advisory is on github.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Redis, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI