CVE-2022-24735: Lua scripts can be manipulated to overcome ACL rules in Redis
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.2% (FIRST EPSS); higher than 82.8% of all records.
- Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: redis (AlmaLinux:8) 6.2.7-1.module_el8.7.0+3288+a82c1b48; redis-devel (AlmaLinux:8) 6.2.7-1.module_el8.7.0+3288+a82c1b48; redis-doc (AlmaLinux:8) 6.2.7-1.module_el8.7.0+3288+a82c1b48.
- Severity is disputed: the assigning authority (CNA) scores it 3.9, NVD 7.8.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to redis (AlmaLinux:8) 6.2.7-1.module_el8.7.0+3288+a82c1b48; redis-devel (AlmaLinux:8) 6.2.7-1.module_el8.7.0+3288+a82c1b48; redis-doc (AlmaLinux:8) 6.2.7-1.module_el8.7.0+3288+a82c1b48 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Redis is an in-memory database that persists on disk. By exploiting weaknesses in the Lua script execution environment, an attacker with access to Redis prior to version 7.0.0 or 6.2.7 can inject Lua code that will execute with the (potentially higher) privileges of another Redis user. The Lua script execution environment in Redis provides some measures that prevent a script from creating side effects that persist and can affect the execution of the same, or different script, at a later time. Several weaknesses of these measures have been publicly known for a long time, but they had no security impact as the Redis security model did not endorse the concept of users or privileges. With the introduction of ACLs in Redis 6.0, these weaknesses can be exploited by a less privileged users to inject Lua code that will execute at a later time, when a privileged user executes a Lua script. 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.
- Published
- Apr 27, 2022
- Updated
- Jun 17, 2026
- EPSS
- 2.2% · 82th percentile
- CWE
- CWE-94
Report tools
Action score
32
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · GitHub_M
- 3.9
- 3.9 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redis | redis | cpe:2.3:a:redis:redis |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| netapp | management services for element software | cpe:2.3:a:netapp:management_services_for_element_software |
| netapp | management services for netapp hci | cpe:2.3:a:netapp:management_services_for_netapp_hci |
| oracle | communications operations monitor | cpe:2.3:a:oracle:communications_operations_monitor |
Using redis? Add it to your stack and be the first to know about CVEs like this one. (Redis)
Is Redis on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redis redisbefore 6.2.7
- redis redis7.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
redis redis
- < 7.0.0, >= 6.0.0, < 6.2.7affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | redis | before 6.2.7-1.module_el8.7.0+3288+a82c1b48 | 6.2.7-1.module_el8.7.0+3288+a82c1b48 |
| AlmaLinux:8 | redis-devel | before 6.2.7-1.module_el8.7.0+3288+a82c1b48 | 6.2.7-1.module_el8.7.0+3288+a82c1b48 |
| AlmaLinux:8 | redis-doc | before 6.2.7-1.module_el8.7.0+3288+a82c1b48 | 6.2.7-1.module_el8.7.0+3288+a82c1b48 |
| AlmaLinux:9 | redis | before 6.2.7-1.el9 | 6.2.7-1.el9 |
| AlmaLinux:9 | redis-devel | before 6.2.7-1.el9 | 6.2.7-1.el9 |
| AlmaLinux:9 | redis-doc | before 6.2.7-1.el9 | 6.2.7-1.el9 |
| Alpine:v3.14 | redis | before 6.2.7-r0 | 6.2.7-r0 |
| Debian:12 | redis | before 5:7.0.1-4 | 5:7.0.1-4 |
| openSUSE:Leap 15.3 | redis | before 6.0.14-150200.6.11.1 | 6.0.14-150200.6.11.1 |
| openSUSE:Leap 15.4 | redis | before 6.2.6-150400.3.3.7 | 6.2.6-150400.3.3.7 |
| openSUSE:Tumbleweed | redis | before 6.2.7-1.1 | 6.2.7-1.1 |
| Red Hat:enterprise_linux:8::appstream | redis | before 0:6.2.7-1.module+el8.7.0+15197+cc495aeb | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb |
| Red Hat:enterprise_linux:8::appstream | redis-debuginfo | before 0:6.2.7-1.module+el8.7.0+15197+cc495aeb | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb |
| Red Hat:enterprise_linux:8::appstream | redis-debugsource | before 0:6.2.7-1.module+el8.7.0+15197+cc495aeb | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb |
| Red Hat:enterprise_linux:8::appstream | redis-devel | before 0:6.2.7-1.module+el8.7.0+15197+cc495aeb | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb |
| Red Hat:enterprise_linux:8::appstream | redis-doc | before 0:6.2.7-1.module+el8.7.0+15197+cc495aeb | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb |
| Red Hat:enterprise_linux:9::appstream | redis | before 0:6.2.7-1.el9 | 0:6.2.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | redis-debuginfo | before 0:6.2.7-1.el9 | 0:6.2.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | redis-debugsource | before 0:6.2.7-1.el9 | 0:6.2.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | redis-devel | before 0:6.2.7-1.el9 | 0:6.2.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | redis-doc | before 0:6.2.7-1.el9 | 0:6.2.7-1.el9 |
| Rocky Linux:8 | redis | before 0:6.2.7-1.module+el8.7.0+1105+8815ce78 | 0:6.2.7-1.module+el8.7.0+1105+8815ce78 |
| Rocky Linux:9 | redis | before 0:6.2.7-1.el9 | 0:6.2.7-1.el9 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP3 | redis | before 6.0.14-150200.6.11.1 | 6.0.14-150200.6.11.1 |
+1
Same product
redis: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0543It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escapeKEV100Now
- CVE-2025-49844Redis Lua Use-After-Free may lead to remote code execution64This week
- CVE-2023-36824Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis58Plan
Published before and after this one in the same product
- ← EarlierCVE-2021-32762Oct 4, 2021 · Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms36Monitor
- ← EarlierCVE-2021-41099Oct 4, 2021 · Integer overflow issue with strings in Redis31Monitor
- Later →CVE-2022-24736Apr 27, 2022 · A Malformed Lua script can crash Redis22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:redis | 6.2.7-1.module_el8.7.0+3288+a82c1b48 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:redis-devel | 6.2.7-1.module_el8.7.0+3288+a82c1b48 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:redis-doc | 6.2.7-1.module_el8.7.0+3288+a82c1b48 · AlmaLinux:8 | Package registry (OSV) |
| alpine:redis | 6.2.7-r0 · Alpine:v3.14 | Package registry (OSV) |
| debian:redis | 5:7.0.1-4 · Debian:12 | Package registry (OSV) |
| opensuse:redis | 6.0.14-150200.6.11.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:redis | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:redis-debuginfo | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:redis-debugsource | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:redis-devel | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:redis-doc | 0:6.2.7-1.module+el8.7.0+15197+cc495aeb · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:redis | 0:6.2.7-1.module+el8.7.0+1105+8815ce78 · Rocky Linux:8 | Package registry (OSV) |
| suse:redis | 6.0.14-150200.6.11.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-23-0714 · Dec 19, 2023(IBM Güvenlik Bildirimi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- github.com/redis/redis/releases/tag/7.0.0
- github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/
- security.gentoo.org/glsa/202209-17
- security.netapp.com/advisory/ntap-20220715-0003/
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.