Every CVE Search/ Get API key

CVE-2021-32672

Vulnerability in Lua Debugger in Redis

5.3 MediumFix available

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.69%Up 1.1 points since Oct 5, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.3

Vulnerability in Lua Debugger in Redis

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
CVE-2021-32672
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-125
Updated
2026-11-02
EUVDEUVD-2021-19483 5.3

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
EUVD-2021-19483
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
NVD 5.3

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
CVE-2021-32672
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N
Weakness
CWE-125
Updated
2026-11-02
OSVALPINE-CVE-2021-32672 4.3

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
ALPINE-CVE-2021-32672
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
OSVAZL-6847 4.3

CVE-2021-32672 affecting package redis for versions less than 6.2.6-1

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
AZL-6847
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVBELL-CVE-2021-32672 4.3

CVE-2021-32672 does not affect BellSoft software

Record
BELL-CVE-2021-32672
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
Show 13 moreShow less
OSV 4.3

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
CVE-2021-32672
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2021-32672 4.3

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
DEBIAN-CVE-2021-32672
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVOESA-2021-1394 4.3

redis security update

Redis is an advanced key-value store. It is often referred to as a dattructure server since keys can contain strings, hashes ,lists, sets anorted sets.

Security Fix(es):

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.(CVE-2021-32672)

Record
OESA-2021-1394
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVOESA-2022-1866 4.3

redis6 security update

Redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. You can run atomic operations on these types, like appending to a string; incrementing the value in a hash; pushing to a list; computing set intersection, union and difference; or getting the member with highest ranking in a sorted set. In order to achieve its outstanding performance, Redis works with an in-memory dataset. Depending on your use case, you can persist it either by dumping the dataset to disk every once in a while, or by appending each command to a log. Redis also supports trivial-to-setup master-slave replication, with very fast non-blocking first synchronization, auto-reconnection on net split and so forth. Other features include Transactions, Pub/Sub, Lua scripting, Keys with a limited time-to-live, and configuration settings to make Redis behave like a cache. You can use Redis from most programming languages also.

Security Fix(es):

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.(CVE-2021-32672)

Record
OESA-2022-1866
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2021-32672 5.3

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
UBUNTU-CVE-2021-32672
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVBIT-keydb-2021-32672 No score

Vulnerability in Lua Debugger in Redis

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
BIT-keydb-2021-32672
Updated
2026-11-02
OSVBIT-redis-2021-32672 No score

Vulnerability in Lua Debugger in Redis

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
BIT-redis-2021-32672
Updated
2026-11-02
OSVBIT-valkey-2021-32672 No score

Vulnerability in Lua Debugger in Redis

Redis is an open source, in-memory database that persists on disk. When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. This issue affects all versions of Redis with Lua debugging support (3.2 or newer). The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14.

Record
BIT-valkey-2021-32672
Updated
2026-11-02
OSVMGASA-2021-0483 No score

Updated redis packages fix security vulnerability

CVE-2021-32626: Specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. CVE-2021-32627: An integer overflow bug in Redis 5.0 or newer can be exploited to corrupt the heap and potentially result with remote code execution. CVE-2021-32628: An integer overflow bug in the ziplist data structure used by all versions of Redis can be exploited to corrupt the heap and potentially result with remote code execution. CVE-2021-32672: When using the Redis Lua Debugger, users can send malformed requests that cause the debugger’s protocol parser to read data beyond the actual buffer. CVE-2021-32675: When parsing an incoming Redis Standard Protocol (RESP) request, Redis allocates memory according to user-specified values which determine the number of elements (in the multi-bulk header) and size of each element (in the bulk header). CVE-2021-32687: An integer overflow bug affecting all versions of Redis can be exploited to corrupt the heap and potentially be used to leak arbitrary contents of the heap or trigger remote code execution. CVE-2021-32762: The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. CVE-2021-41099: An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution.

Record
MGASA-2021-0483
Updated
2026-11-02
OSVopenSUSE-SU-2021:3772-1 No score

Security update for redis

This update for redis fixes the following issues:

  • CVE-2021-32627: Fixed integer to heap buffer overflows with streams (bsc#1191305).
  • CVE-2021-32628: Fixed integer to heap buffer overflows handling ziplist-encoded data types (bsc#1191305).
  • CVE-2021-32687: Fixed integer to heap buffer overflow with intsets (bsc#1191302).
  • CVE-2021-32762: Fixed integer to heap buffer overflow issue in redis-cli and redis-sentinel (bsc#1191300).
  • CVE-2021-32626: Fixed heap buffer overflow caused by specially crafted Lua scripts (bsc#1191306).
  • CVE-2021-32672: Fixed random heap reading issue with Lua Debugger (bsc#1191304).
  • CVE-2021-32675: Fixed Denial Of Service when processing RESP request payloads with a large number of elements on many connections (bsc#1191303).
  • CVE-2021-41099: Fixed integer to heap buffer overflow handling certain string commands and network payloads (bsc#1191299).
Record
openSUSE-SU-2021:3772-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11563-1 No score

redis-6.2.6-1.1 on GA media

These are all security issues fixed in the redis-6.2.6-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11563-1
Updated
2026-11-02
OSVSUSE-SU-2021:3772-1 No score

Security update for redis

This update for redis fixes the following issues:

  • CVE-2021-32627: Fixed integer to heap buffer overflows with streams (bsc#1191305).
  • CVE-2021-32628: Fixed integer to heap buffer overflows handling ziplist-encoded data types (bsc#1191305).
  • CVE-2021-32687: Fixed integer to heap buffer overflow with intsets (bsc#1191302).
  • CVE-2021-32762: Fixed integer to heap buffer overflow issue in redis-cli and redis-sentinel (bsc#1191300).
  • CVE-2021-32626: Fixed heap buffer overflow caused by specially crafted Lua scripts (bsc#1191306).
  • CVE-2021-32672: Fixed random heap reading issue with Lua Debugger (bsc#1191304).
  • CVE-2021-32675: Fixed Denial Of Service when processing RESP request payloads with a large number of elements on many connections (bsc#1191303).
  • CVE-2021-41099: Fixed integer to heap buffer overflow handling certain string commands and network payloads (bsc#1191299).
Record
SUSE-SU-2021:3772-1
Updated
2026-11-02
OSVUSN-5221-1 No score

redis vulnerabilities

It was discovered that Redis incorrectly handled certain specially crafted Lua scripts. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2021-32626)

It was discovered that Redis incorrectly handled some malformed requests when using Redis Lua Debugger. A remote attacker could possibly use this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2021-32672)

It was discovered that Redis incorrectly handled certain Redis Standard Protocol (RESP) requests. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-32675)

It was discovered that Redis incorrectly handled some configuration parameters with specially crafted network payloads. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. Vulnerabilities CVE-2021-32627 and CVE-2021-41099 only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2021-32627, CVE-2021-32628, CVE-2021-32687, CVE-2021-41099).

It was discovered that Redis incorrectly handled memory when processing certain input in 32-bit systems. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. One vulnerability (CVE-2021-32761) only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM and Ubuntu 18.04 ESM and another vulnerability (CVE-2021-21309) only affected Ubuntu 18.04 ESM. (CVE-2021-32761, CVE-2021-21309).

Record
USN-5221-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
redis
Alpine:v3.11
3.2.0 up to 5.0.14-r0
5.0.14-r0
redis
Alpine:v3.12
3.2.0 up to 5.0.14-r0
5.0.14-r0
redis
Alpine:v3.13
3.2.0 up to 6.0.16-r0
6.0.16-r0
redis
Alpine:v3.14
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.15
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.16
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.17
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.18
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.19
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.20
3.2.0 up to 6.2.6-r0
6.2.6-r0
Show 30 moreShow less
Affected packages
PackageAffectedFixed
redis
Alpine:v3.21
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.22
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.23
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Alpine:v3.24
3.2.0 up to 6.2.6-r0
6.2.6-r0
redis
Azure Linux:2
before 6.2.6-1
6.2.6-1
keydb
Bitnami
3.2.0 up to 5.0.14, 6.0.0 up to 6.0.16, 6.2.0 up to 6.2.6
5.0.146.0.166.2.6
redis
Bitnami
3.2.0 up to 5.0.14, 6.0.0 up to 6.0.16, 6.2.0 up to 6.2.6
5.0.146.0.166.2.6
valkey
Bitnami
3.2.0 up to 5.0.14, 6.0.0 up to 6.0.16, 6.2.0 up to 6.2.6
5.0.146.0.166.2.6
redis
Debian:12
before 5:6.0.16-1
5:6.0.16-1
redis
Debian:13
before 5:6.0.16-1
5:6.0.16-1
redis
Debian:14
before 5:6.0.16-1
5:6.0.16-1
redis
Debian:9
From an advisory covering 6 CVEs
before 3:3.2.6-3+deb9u8, plus listed versions
3:3.2.6-13:3.2.6-23:3.2.6-33:3.2.6-3+deb9u13:3.2.6-3+deb9u2
Show 5 moreShow less
3:3.2.6-3+deb9u33:3.2.6-3+deb9u43:3.2.6-3+deb9u53:3.2.6-3+deb9u63:3.2.6-3+deb9u7
3:3.2.6-3+deb9u8
redis
Debian:10
From an advisory covering 8 CVEs
before 5:5.0.14-1+deb10u1, plus listed versions
5:5.0.3-45:5.0.3-4+deb10u15:5.0.3-4+deb10u25:5.0.3-4+deb10u35:5.0.4-1
Show 14 moreShow less
5:5.0.5-15:5.0.5-25:5.0.5-2~bpo10+15:5.0.6-15:5.0.6-1~bpo10+15:5.0.7-15:5.0.7-1~bpo10+15:5.0.7-25:5.0.7-35:5.0.7-45:5.0.7-55:5.0.7-65:5.0.7-75:5.0.7-7~bpo10+1
5:5.0.14-1+deb10u1
redis
Debian:11
From an advisory covering 8 CVEs
before 5:6.0.16-1+deb11u1, plus listed versions
5:6.0.15-15:6.0.16-15:6.0.16-1~bpo10+15:6.0.16-1~bpo11+1
5:6.0.16-1+deb11u1
redis
Mageia:8
From an advisory covering 8 CVEs
before 6.0.16-1.mga8
6.0.16-1.mga8
redis
openEuler:20.03-LTS-SP1
before 4.0.11-16.oe1
4.0.11-16.oe1
redis
openEuler:20.03-LTS-SP2
before 4.0.11-16.oe1
4.0.11-16.oe1
redis6
openEuler:20.03-LTS-SP1
before 6.2.7-1.oe1
6.2.7-1.oe1
redis6
openEuler:20.03-LTS-SP3
before 6.2.7-1.oe1
6.2.7-1.oe1
redis6
openEuler:22.03-LTS
before 6.2.7-1.oe2203
6.2.7-1.oe2203
redis
SUSE:Linux Enterprise Module for Server Applications 15 SP2
From an advisory covering 8 CVEs
before 6.0.14-6.8.1
6.0.14-6.8.1
redis
SUSE:Linux Enterprise Module for Server Applications 15 SP3
From an advisory covering 8 CVEs
before 6.0.14-6.8.1
6.0.14-6.8.1
redis
Ubuntu:Pro:18.04:LTS
before 5:4.0.9-1ubuntu0.2+esm3, plus listed versions
4:4.0.1-74:4.0.2-64:4.0.2-95:4.0.5-15:4.0.6-1
Show 8 moreShow less
5:4.0.6-25:4.0.7-15:4.0.8-15:4.0.8-25:4.0.9-15:4.0.9-1ubuntu0.15:4.0.9-1ubuntu0.25:4.0.9-1ubuntu0.2+esm2
5:4.0.9-1ubuntu0.2+esm3
redis
Ubuntu:Pro:20.04:LTS
before 5:5.0.7-2ubuntu0.1+esm1, plus listed versions
5:5.0.5-2build15:5.0.6-15:5.0.7-15:5.0.7-25:5.0.7-2ubuntu0.1~esm15:5.0.7-2ubuntu0.1
5:5.0.7-2ubuntu0.1+esm1
redis
Ubuntu:Pro:14.04:LTS
From an advisory covering 9 CVEs
before 2:2.8.4-2ubuntu0.2+esm2, plus listed versions
2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-22:2.8.4-2ubuntu0.22:2.8.4-2ubuntu0.2+esm1
2:2.8.4-2ubuntu0.2+esm2
redis
Ubuntu:Pro:16.04:LTS
From an advisory covering 9 CVEs
before 2:3.0.6-1ubuntu0.4+esm1, plus listed versions
2:3.0.3-32:3.0.5-12:3.0.5-22:3.0.5-32:3.0.5-4
Show 4 moreShow less
2:3.0.6-12:3.0.6-1ubuntu0.22:3.0.6-1ubuntu0.32:3.0.6-1ubuntu0.4
2:3.0.6-1ubuntu0.4+esm1
redis
Ubuntu:Pro:18.04:LTS
From an advisory covering 9 CVEs
before 5:4.0.9-1ubuntu0.2+esm3, plus listed versions
4:4.0.1-74:4.0.2-64:4.0.2-95:4.0.5-15:4.0.6-1
Show 8 moreShow less
5:4.0.6-25:4.0.7-15:4.0.8-15:4.0.8-25:4.0.9-15:4.0.9-1ubuntu0.15:4.0.9-1ubuntu0.25:4.0.9-1ubuntu0.2+esm2
5:4.0.9-1ubuntu0.2+esm3
redis
Ubuntu:Pro:20.04:LTS
From an advisory covering 9 CVEs
before 5:5.0.7-2ubuntu0.1+esm1, plus listed versions
5:5.0.5-2build15:5.0.6-15:5.0.7-15:5.0.7-25:5.0.7-2ubuntu0.1~esm15:5.0.7-2ubuntu0.1
5:5.0.7-2ubuntu0.1+esm1
redis
openSUSE:Leap 15.3
From an advisory covering 8 CVEs
before 6.0.14-6.8.1
6.0.14-6.8.1
redis
openSUSE:Tumbleweed
From an advisory covering 8 CVEs
before 6.2.6-1.1
6.2.6-1.1

History

History
RecordedChangedSources
affected, facts
affectedOSV
aliasesEUVD
first indexedCVE List, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-32672 is a medium vulnerability (CVSS 5.3) in Redis, published October 4, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.69%, the 77th percentile. Fixed in redis 5.0.14-r0.

References

Show 41 moreShow less
MoveEnter Open