StackPatch is liveSee product

Back to CVE digest
CVE-2024-46981 · cross-distro fix matrix

CVE-2024-46981: 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 th

Affects 8 Linux releases across 15 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2024-46981 has a known fix. Run the listed command on that distro to remediate.

Debian bullseye

Source: Debian Security Tracker

  • redis→ fixed in5:6.0.16-1+deb11u5urgency: not yet assigned
    sudo apt-get install --only-upgrade -y redis

Debian bookworm

Source: Debian Security Tracker

  • redis→ fixed in5:7.0.15-1~deb12u3urgency: not yet assigned
    sudo apt-get install --only-upgrade -y redis

Debian trixie

Source: Debian Security Tracker

  • redis→ fixed in5:7.0.15-3urgency: not yet assigned
    sudo apt-get install --only-upgrade -y redis
  • valkey→ fixed in8.0.2+dfsg1-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y valkey

Alpine v3.20

Source: Alpine secdb

  • valkey→ fixed in7.2.8-r0
    apk update && apk add --upgrade valkey
  • redict→ fixed in7.3.2-r0
    apk update && apk add --upgrade redict
  • redis→ fixed in7.2.7-r0
    apk update && apk add --upgrade redis

Alpine v3.21

Source: Alpine secdb

  • valkey→ fixed in7.2.8-r0
    apk update && apk add --upgrade valkey
  • redict→ fixed in7.3.2-r0
    apk update && apk add --upgrade redict
  • redis→ fixed in7.2.7-r0
    apk update && apk add --upgrade redis

Alpine edge

Source: Alpine secdb

  • valkey→ fixed in7.2.8-r0
    apk update && apk add --upgrade valkey
  • redict→ fixed in7.3.2-r0
    apk update && apk add --upgrade redict
  • redis→ fixed in7.2.7-r0
    apk update && apk add --upgrade redis

Alpine v3.18

Source: Alpine secdb

  • redis→ fixed in7.0.15-r2
    apk update && apk add --upgrade redis

Alpine v3.19

Source: Alpine secdb

  • redis→ fixed in7.2.7-r0
    apk update && apk add --upgrade redis
Are YOU affected by CVE-2024-46981?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2024-46981dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)