An update for redis6 is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2021-1454
Final
1.0
1.0
2021-12-07
Initial
2021-12-07
2021-12-07
openEuler SA Tool V1.0
2021-12-07
redis6 security update
An update for redis6 is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
Redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. You can run atomic operations on these types, like appending to a string; incrementing the value in a hash; pushing to a list; computing set intersection, union and difference; or getting the member with highest ranking in a sorted set. In order to achieve its outstanding performance, Redis works with an in-memory dataset. Depending on your use case, you can persist it either by dumping the dataset to disk every once in a while, or by appending each command to a log. Redis also supports trivial-to-setup master-slave replication, with very fast non-blocking first synchronization, auto-reconnection on net split and so forth. Other features include Transactions, Pub/Sub, Lua scripting, Keys with a limited time-to-live, and configuration settings to make Redis behave like a cache. You can use Redis from most programming languages also.
Security Fix(es):
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.(CVE-2021-32687)
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.(CVE-2021-32628)
Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution. The vulnerability involves changing the default proto-max-bulk-len configuration parameter to a very large value and constructing specially crafted network payloads or commands. 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 proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.(CVE-2021-41099)
Redis is an open source, in-memory database that persists on disk. When parsing an incoming Redis Standard Protocol (RESP) request, Redis allocates memory according to user-specified values which determine the number of elements (in the multi-bulk header) and size of each element (in the bulk header). An attacker delivering specially crafted requests over multiple connections can cause the server to allocate significant amount of memory. Because the same parsing mechanism is used to handle authentication requests, this vulnerability can also be exploited by unauthenticated users. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways: Using network access control tools like firewalls, iptables, security groups, etc. or Enabling TLS and requiring users to authenticate using client side certificates.(CVE-2021-32675)
Redis is an open source, in-memory database that persists on disk. The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.(CVE-2021-32762)
Redis is an open source, in-memory database that persists on disk. In affected versions an integer overflow bug in Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves changing the default proto-max-bulk-len and client-query-buffer-limit configuration parameters to very large values and constructing specially crafted very large stream elements. The problem is fixed in Redis 6.2.6, 6.0.16 and 5.0.14. For users unable to upgrade an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.(CVE-2021-32627)
An update for redis6 is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
High
redis6
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1454
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-32687
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-32628
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-41099
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-32675
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-32762
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-32627
https://nvd.nist.gov/vuln/detail/CVE-2021-32687
https://nvd.nist.gov/vuln/detail/CVE-2021-32628
https://nvd.nist.gov/vuln/detail/CVE-2021-41099
https://nvd.nist.gov/vuln/detail/CVE-2021-32675
https://nvd.nist.gov/vuln/detail/CVE-2021-32762
https://nvd.nist.gov/vuln/detail/CVE-2021-32627
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
redis6-devel-6.0.11-6.oe1.aarch64.rpm
redis6-debugsource-6.0.11-6.oe1.aarch64.rpm
redis6-6.0.11-6.oe1.aarch64.rpm
redis6-debuginfo-6.0.11-6.oe1.aarch64.rpm
redis6-6.0.11-6.oe1.aarch64.rpm
redis6-devel-6.0.11-6.oe1.aarch64.rpm
redis6-debuginfo-6.0.11-6.oe1.aarch64.rpm
redis6-debugsource-6.0.11-6.oe1.aarch64.rpm
redis6-doc-6.0.11-6.oe1.noarch.rpm
redis6-doc-6.0.11-6.oe1.noarch.rpm
redis6-6.0.11-6.oe1.src.rpm
redis6-6.0.11-6.oe1.src.rpm
redis6-debuginfo-6.0.11-6.oe1.x86_64.rpm
redis6-6.0.11-6.oe1.x86_64.rpm
redis6-debugsource-6.0.11-6.oe1.x86_64.rpm
redis6-devel-6.0.11-6.oe1.x86_64.rpm
redis6-debugsource-6.0.11-6.oe1.x86_64.rpm
redis6-6.0.11-6.oe1.x86_64.rpm
redis6-debuginfo-6.0.11-6.oe1.x86_64.rpm
redis6-devel-6.0.11-6.oe1.x86_64.rpm
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.
2021-12-07
CVE-2021-32687
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
High
7.5
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
redis6 security update
2021-12-07
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1454
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.
2021-12-07
CVE-2021-32628
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
High
7.5
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
redis6 security update
2021-12-07
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1454
Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution. The vulnerability involves changing the default proto-max-bulk-len configuration parameter to a very large value and constructing specially crafted network payloads or commands. 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 proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
2021-12-07
CVE-2021-41099
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
High
7.5
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
redis6 security update
2021-12-07
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1454
Redis is an open source, in-memory database that persists on disk. When parsing an incoming Redis Standard Protocol (RESP) request, Redis allocates memory according to user-specified values which determine the number of elements (in the multi-bulk header) and size of each element (in the bulk header). An attacker delivering specially crafted requests over multiple connections can cause the server to allocate significant amount of memory. Because the same parsing mechanism is used to handle authentication requests, this vulnerability can also be exploited by unauthenticated users. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways: Using network access control tools like firewalls, iptables, security groups, etc. or Enabling TLS and requiring users to authenticate using client side certificates.
2021-12-07
CVE-2021-32675
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redis6 security update
2021-12-07
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1454
Redis is an open source, in-memory database that persists on disk. The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.
2021-12-07
CVE-2021-32762
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
High
8.8
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
redis6 security update
2021-12-07
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1454
Redis is an open source, in-memory database that persists on disk. In affected versions an integer overflow bug in Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves changing the default proto-max-bulk-len and client-query-buffer-limit configuration parameters to very large values and constructing specially crafted very large stream elements. The problem is fixed in Redis 6.2.6, 6.0.16 and 5.0.14. For users unable to upgrade an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
2021-12-07
CVE-2021-32627
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
High
7.5
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
redis6 security update
2021-12-07
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1454