Bug 2011004 (CVE-2021-32628) - CVE-2021-32628 redis: Integer overflow bug in the ziplist data structure
Summary: CVE-2021-32628 redis: Integer overflow bug in the ziplist data structure
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-32628
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2012214 2011205 2011490 2011491 2011492 2011493 2011494 2011495 2011496 2011497 2011498 2011499 2011590 2011647 2011663 2011741 2012213 2012379 2012380 2013311 2013312 2015073 2015870 2015871
Blocks: 2011061
TreeView+ depends on / blocked
 
Reported: 2021-10-05 18:35 UTC by Pedro Sampaio
Modified: 2022-08-09 09:33 UTC (History)
54 users (show)

Fixed In Version: redis 6.2.6, redis 6.0.16, redis 5.0.14
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow issue was found in the redis ziplist data structure. The vulnerability involves modifying the default ziplist configuration parameters (hash-max-ziplist-entries, hash-max-ziplist-value, zset-max-ziplist-entries or zset-max-ziplist-value) to a very large value, and then constructing specially crafted commands to create very large ziplists. This flaw allows a remote attacker to corrupt the heap and potentially trigger remote code execution. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Clone Of:
Environment:
Last Closed: 2021-10-15 02:08:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:3953 0 None None None 2021-10-25 01:19:08 UTC
Red Hat Product Errata RHBA-2021:3997 0 None None None 2021-10-26 13:01:07 UTC
Red Hat Product Errata RHBA-2021:4001 0 None None None 2021-10-26 16:46:21 UTC
Red Hat Product Errata RHSA-2021:3873 0 None None None 2021-10-14 22:39:08 UTC
Red Hat Product Errata RHSA-2021:3918 0 None None None 2021-10-19 13:39:55 UTC
Red Hat Product Errata RHSA-2021:3925 0 None None None 2021-10-20 03:55:26 UTC
Red Hat Product Errata RHSA-2021:3944 0 None None None 2021-10-20 13:53:52 UTC
Red Hat Product Errata RHSA-2021:3945 0 None None None 2021-10-20 14:15:30 UTC
Red Hat Product Errata RHSA-2021:3946 0 None None None 2021-10-20 13:56:35 UTC
Red Hat Product Errata RHSA-2021:3947 0 None None None 2021-10-20 13:51:45 UTC
Red Hat Product Errata RHSA-2021:3949 0 None None None 2021-10-20 19:44:59 UTC
Red Hat Product Errata RHSA-2021:3971 0 None None None 2021-10-25 13:17:30 UTC
Red Hat Product Errata RHSA-2021:3980 0 None None None 2021-10-25 17:56:25 UTC
Red Hat Product Errata RHSA-2021:4618 0 None None None 2021-11-11 18:32:45 UTC

Description Pedro Sampaio 2021-10-05 18:35:43 UTC
Redis is an open source, in-memory database that persists on disk. 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. The vulnerability involves modifying the default ziplist configuration parameters (hash-max-ziplist-entries, hash-max-ziplist-value, zset-max-ziplist-entries or zset-max-ziplist-value) to a very large value, and then constructing specially crafted commands to create very large ziplists. The problem is fixed in Redis versions 6.2.6, 6.0.16, 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the above configuration parameters. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.

References:

https://github.com/redis/redis/commit/f6a40570fa63d5afdd596c78083d754081d80ae3
https://github.com/redis/redis/security/advisories/GHSA-vw22-qm3h-49pr

Comment 7 Mauro Matteo Cascella 2021-10-08 15:03:25 UTC
Created redis tracking bugs for this issue:

Affects: epel-7 [bug 2012214]
Affects: fedora-all [bug 2012213]

Comment 10 errata-xmlrpc 2021-10-14 22:39:05 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8
  Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7

Via RHSA-2021:3873 https://access.redhat.com/errata/RHSA-2021:3873

Comment 11 Product Security DevOps Team 2021-10-15 02:08:41 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-32628

Comment 14 errata-xmlrpc 2021-10-19 13:39:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:3918 https://access.redhat.com/errata/RHSA-2021:3918

Comment 15 errata-xmlrpc 2021-10-20 03:55:23 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 8
  Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 7

Via RHSA-2021:3925 https://access.redhat.com/errata/RHSA-2021:3925

Comment 17 errata-xmlrpc 2021-10-20 13:51:43 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

Via RHSA-2021:3947 https://access.redhat.com/errata/RHSA-2021:3947

Comment 18 errata-xmlrpc 2021-10-20 13:53:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:3944 https://access.redhat.com/errata/RHSA-2021:3944

Comment 19 errata-xmlrpc 2021-10-20 13:56:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:3946 https://access.redhat.com/errata/RHSA-2021:3946

Comment 20 errata-xmlrpc 2021-10-20 14:15:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:3945 https://access.redhat.com/errata/RHSA-2021:3945

Comment 21 errata-xmlrpc 2021-10-20 19:44:56 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 8
  Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 7

Via RHSA-2021:3949 https://access.redhat.com/errata/RHSA-2021:3949

Comment 22 errata-xmlrpc 2021-10-25 13:17:27 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 10.0 (Newton)

Via RHSA-2021:3971 https://access.redhat.com/errata/RHSA-2021:3971

Comment 23 errata-xmlrpc 2021-10-25 17:56:22 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 13.0 - ELS
  Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUS

Via RHSA-2021:3980 https://access.redhat.com/errata/RHSA-2021:3980

Comment 25 errata-xmlrpc 2021-11-11 18:32:42 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8

Via RHSA-2021:4618 https://access.redhat.com/errata/RHSA-2021:4618


Note You need to log in before you can comment on or make changes to this bug.