CVE-2024-46981
A public proof of concept exists; no exploitation attested.
- Published2025-01-06
- Fixed in7.4.2 · 7.2.8 · 7.2.7 · 6.2.17
- WeaknessCWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.
Timeline
dates in UTC- 2025-01-0622:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.4 | ≥ 7.4.0, < 7.4.2 | 7.4.2 | NVD · OSV |
| 7.2 | ≥ 7.2.0, < 7.2.8 | 7.2.8 | OSV |
| 7.2 | ≥ 7.2.0, < 7.2.7 | 7.2.7 | NVD |
| 6.2 | ≥ 6.2.0, < 6.2.17 | 6.2.17 | NVD |
| 6.2 | < 6.2.17 | 6.2.17 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.3 | < 6.3.4 | 6.3.4 | OSV |
| 7.2+ | ≥ 7.2.0 | no fix published | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 11.0 | = 11.0 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- redisAffected
- = >= 7.4.0, < 7.4.2no fix stated
- = >= 7.2.0, < 7.2.7no fix stated
- = < 6.2.17no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-01-06
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- py3-redisChainguardall versions · fixed in 0and 4 other packages
- redictUbuntu:26.10all versions · no fixed version listed
- redictUbuntu:26.04:LTSall versions · no fixed version listed
- redictUbuntu:25.10all versions · no fixed version listed
- redictDebian:14all versions · fixed in 7.3.2+ds-1
- redictAlpine:v3.24all versions · fixed in 7.3.2-r0
- redictAlpine:v3.23all versions · fixed in 7.3.2-r0
- redictAlpine:v3.22all versions · fixed in 7.3.2-r0
88 more package ranges on OSV.dev
Vendor advisories
redis: Redis' Lua library commands may lead to remote code execution
openshift-lightspeed-tech-preview/lightspeed-service-api-rhel9.src as a component of OpenShift Lightspeed · rhelai1/bootc-amd-rhel9.src as a component of Red Hat Enterprise Linux AI (RHEL AI) · rhelai1/bootc-azure-amd-rhel9.src as a component of Red Hat Enterprise Linux AI (RHEL AI) · +1 more
Red Hat Bug Fix Advisory: Red Hat Quay v3.10.9 bug fix release
Red Hat Bug Fix Advisory: Red Hat Quay v3.13.4 bug fix release
Red Hat Security Advisory: updated discovery container images
Red Hat Security Advisory: redis:6 security update
Red Hat Security Advisory: redis:7 security update
8 more advisories
Fix
- Update Redis to 7.4.2 · 7.2.8 · 7.2.7 · 6.2.17
- Vendor fix Red Hat Product Security RHBA-2025:1600 · 30 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:1249 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:0689 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHBA-2025:1600 · 30 productsA workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.
Advisories and patches
- github.comRelease Notes
- github.comRelease Notes
- github.comRelease Notes
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01publicqi/CVE-2024-46981xsshk/CVE-2024-46981
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-01-06
- CNACVSS 3.17known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-416known since 2026-10-23
- FIRST EPSSEPSS score8.2 %2026-11-17
- PoC-in-GitHubproof of concept2known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-54969same flawAzure Linux · MIT
- AZL-55286same flawAzure Linux · MIT
- BIT-keydb-2024-46981same flawBitnami · Apache-2.0
- BIT-redis-2024-46981same flawBitnami · Apache-2.0
- BIT-valkey-2024-46981same flawBitnami · Apache-2.0
- CGA-3f62-jq4v-7x93same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4ffc-c6cr-v89msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-52fw-3qmj-2v2gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7mhv-rqfj-g2q7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7v3c-pqr8-vvm8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-87gf-rwmr-53jrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9354-xj95-wgw9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-95fj-w67h-33m8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9wcq-h9r8-7hpvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c4vf-8m99-xp34same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c89q-w5q5-f89gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f33q-gjfm-w8g4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-ffr9-jmxx-2cj7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g3q6-3h5m-25hmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g7vq-vhx2-g86csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jf4p-h25q-w2jwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m79m-w6w5-hrvpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p28c-mm5x-rg59same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p2j9-45px-mj94same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p53r-mf99-577msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p643-pf46-4wh7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-q7hr-w4mg-gxrhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-q85j-8cpw-qp5jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w8q5-2h4h-8mmfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x33c-7xv5-ggj8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xfcc-9wjv-4hvfsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-42220same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-39h2-x6c4-6w4csame flawGitHub Advisory Database · CC-BY-4.0
- MINI-4mvp-8jq4-2v6psame flawMinimOS · LicenseRef-unstated
- MINI-8xqh-6fcr-8vjhsame flawMinimOS · LicenseRef-unstated
- MINI-9c7x-fxvh-q64vsame flawMinimOS · LicenseRef-unstated
- ALSA-2025:0595advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:0692advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:0693advisory covering several CVEsAlmaLinux · MIT
- DLA-4025-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5856-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0033advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1157advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:14638-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15293-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2025:0398advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:0399advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:0400advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:0566advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:0595advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2025-01-06
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-39h2-x6c4-6w4c
Frequently asked questions
What is CVE-2024-46981?
Is CVE-2024-46981 actively exploited?
What is the CVSS score for CVE-2024-46981?
Running Redis? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-39h2-x6c4-6w4c
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0