CVEvulnerability

CVE-2021-32687

7.5 HIGH Published 2021-10-04 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-10-04
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.0 MEDIUM — AV:N/AC:M/Au:S/C:P/I:P/A:P
Weaknesses
CWE-190, CWE-680

Description

Redis is an open source, in-memory database that persists on disk. 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. The vulnerability involves changing the default set-max-intset-entries configuration parameter to a very large value and constructing specially crafted commands to manipulate sets. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. 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.

Affected configurations

• redis redis (>= 5.0.0 < 5.0.14) • redis redis (>= 6.0.0 < 6.0.16) • redis redis (>= 6.2.0 < 6.2.6) • fedoraproject fedora 33 • fedoraproject fedora 34 • fedoraproject fedora 35 • debian debian linux 10.0 • debian debian linux 11.0 • netapp management services for element software • netapp management services for netapp hci • oracle communications operations monitor 4.3 • oracle communications operations monitor 4.4 • oracle communications operations monitor 5.0

Related

Weakness · CWE (2)

  • CWE-190 Integer Overflow or Wraparound weakness
  • CWE-680 Integer Overflow to Buffer Overflow weakness

References