{"id":"ALPINE-CVE-2021-32628","details":"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.","modified":"2026-03-09T01:19:44.968337Z","published":"2021-10-04T18:15:08.577Z","upstream":["CVE-2021-32628"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-32628"}],"affected":[{"package":{"name":"redis","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.14-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.11-r0","5.0.13-r0","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.7-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.14-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.11-r0","5.0.13-r0","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.16-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.11-r0","6.0.13-r0","6.0.14-r0","6.0.15-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-32628.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}