# CVE-2021-29478: Vulnerability in the COPY command for large intsets

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.61%, higher than 89% of CVEs (2026-12-01)
- Published: 2021-05-04T16:00:23.000Z
- Modified: 2026-06-17T03:47:43.493Z
- Weaknesses: CWE-190
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- redis redis: >= 6.2.0, < 6.2.3
- redislabs redis: from 6.2.0 before 6.2.3
- fedoraproject fedora: 33; 34

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://redis.io/> (product)
- <https://github.com/redis/redis/security/advisories/GHSA-qh52-crrg-44g3> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZJ6JGQ2ETZB2DWTQSGCOGG7EF3ILV4V/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPWBIZXA67JFIB63W2CNVVILCGIC2ME5/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202107-20> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-29478](https://www.cve.org/CVERecord?id=CVE-2021-29478), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-29478](https://nvd.nist.gov/vuln/detail/CVE-2021-29478), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29478 · Whole record: https://cve.day/CVE-2021-29478.json · Rebuilt by cve.day 2026-11-25T22:58:01.137Z
