Integer overflow issue with strings in Redis
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
12- osv-coords10 versionspkg:bitnami/keydbpkg:bitnami/redispkg:bitnami/valkeypkg:rpm/almalinux/redispkg:rpm/almalinux/redis-develpkg:rpm/almalinux/redis-docpkg:rpm/opensuse/redis&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/redis&distro=openSUSE%20Tumbleweedpkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP2pkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP3
>= 5.0.0, < 5.0.14+ 9 more
- (no CPE)range: >= 5.0.0, < 5.0.14
- (no CPE)range: >= 5.0.0, < 5.0.14
- (no CPE)range: >= 5.0.0, < 5.0.14
- (no CPE)range: < 5.0.3-5.module_el8.4.0+2583+b9845322
- (no CPE)range: < 5.0.3-5.module_el8.5.0+66+fc19ec12
- (no CPE)range: < 5.0.3-5.module_el8.4.0+2583+b9845322
- (no CPE)range: < 6.0.14-6.8.1
- (no CPE)range: < 6.2.6-1.1
- (no CPE)range: < 6.0.14-6.8.1
- (no CPE)range: < 6.0.14-6.8.1
Patches
Vulnerability mechanics
References
9- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/mitrevendor-advisoryx_refsource_FEDORA
- security.gentoo.org/glsa/202209-17mitrevendor-advisoryx_refsource_GENTOO
- www.debian.org/security/2021/dsa-5001mitrevendor-advisoryx_refsource_DEBIAN
- github.com/redis/redis/commit/c6ad876774f3cc11e32681ea02a2eead00f2c521mitrex_refsource_MISC
- github.com/redis/redis/security/advisories/GHSA-j3cr-9h5g-6cphmitrex_refsource_CONFIRM
- security.netapp.com/advisory/ntap-20211104-0003/mitrex_refsource_CONFIRM
- www.oracle.com/security-alerts/cpuapr2022.htmlmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.