Integer overflow in Redis
CVE-2021-29478
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis 6.2 before 6.2.3 could be exploited to corrupt the heap and potentially result with remote code execution. Redis 6.0 and earlier are not directly affected by this issue. The problem is fixed in version 6.2.3. An additional workaround to mitigate the problem without patching the `redis-server` executable is to prevent users from modifying the `set-max-intset-entries` configuration parameter. This can be done using ACL to restrict unprivileged users from using the `CONFIG SET` command.
Vulnerability class: Integer Overflow
EPSS: 0.036 (88.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Redis — versions >= 6.2.0, < 6.2.3
- Redislabs Redis
- Fedoraproject Fedora — versions 33, 34
Weakness classification (CWE)
References
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (x_refsource_FEDORA, vendor-advisory)
- security-advisories@github.com (x_refsource_FEDORA, vendor-advisory)
- security-advisories@github.com (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
Frequently asked questions
- What is CVE-2021-29478?
- CVE-2021-29478 is a high-severity vulnerability in Redis, classified under Integer Overflow or Wraparound. CVSS score: 7.5/10. Published 2021-05-04.
- How severe is CVE-2021-29478?
- High severity. CVSS v3 base score is 7.5 out of 10.