It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape
It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape, which could result in remote code execution.
- Published
- Feb 18, 2022
- Updated
- Jun 17, 2026
- EPSS
- 99.4% · 100th percentile
- CWE
- CWE-862
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
100
Now
Patch today or shut off access.
- CVSS
- 40 / 40 · 10.0 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 30 / 30 · 99.4%
CISA SSVC decision
- Exploitation
- active
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Mar 28, 2022. That signals real attacks, not theory.
Remediation deadline for government agencies: Apr 18, 2022.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| redis | redis | cpe:2.3:a:redis:redis |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using redis? Add it to your stack and be the first to know about CVEs like this one. (Redis)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redis redisall versions
Versions reported by the vendor
Affected version ranges reported by the assigning authority (debian). Independent of NVD's CPE analysis and usually ahead of it.
Debian redis
- n/aaffected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | redis | before 5:5.0.14-1+deb10u2 | 5:5.0.14-1+deb10u2 |
| Debian:11 | redis | before 5:6.0.16-1+deb11u2 | 5:6.0.16-1+deb11u2 |
| Debian:12 | redis | before 5:6.0.16-2 | 5:6.0.16-2 |
Same product
redis: all recordsOther highest-scoring records for the same primary product.
- 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
- CVE-2022-24834Heap overflow issue with the Lua cjson library used by Redis47Plan
- CVE-2023-22458Integer overflow in multiple Redis commands can lead to denial-of-service44Plan
- CVE-2024-46981Redis' Lua library commands may lead to remote code execution41Plan
- CVE-2022-36021Redis string pattern matching can be abused to achieve Denial of Service40Plan
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 |
|---|---|---|
| Debian:redis | 5:6.0.16-2 · Debian:12 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×6
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Metasploit module | exploit/linux/redis/redis_debian_sandbox_escapeRedis Lua Sandbox Escapeexploit | 2022-02-18 |
| Nuclei detection template | Nuclei template CVE-2022-0543 | — |
| Proof-of-concept repository on GitHub | stars:95 | 2022-03-16 |
| Proof-of-concept repository on GitHub | stars:23 | 2022-07-06 |
| Proof-of-concept repository on GitHub | stars:1 | 2022-09-05 |
| Proof-of-concept repository on GitHub | stars:3 | 2023-05-10 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-11-18 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-06-19 |
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.
- Metasploit-1 d
- Published
- First PoC+25 d
- CISA KEV+37 d
- TodaySep 29, 2026+1684 d
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.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- 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
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-862 · Missing AuthorizationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.debian.org/1005787
- lists.debian.org/debian-security-announce/2022/msg00048.html
- security.netapp.com/advisory/ntap-20220331-0004/
- www.debian.org/security/2022/dsa-5081
- www.ubercomp.com/posts/2022-01-20_redis_on_debian_rce
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0543
Vendor advisories and official records. Exploit/PoC links are deliberately left out.