Vulnerability   
Search   
    Search 324607 CVE descriptions
and 146377 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.145471
Category:Databases
Title:Redis Integer Overflow Vulnerability (GHSA-hgj8-vff2-7cjf)
Summary:Redis is prone to an integer overflow vulnerability.
Description:Summary:
Redis is prone to an integer overflow vulnerability.

Vulnerability Insight:
An integer overflow bug in 32-bit Redis could be exploited to corrupt the
heap and potentially result with remote code execution.

Redis 4.0 or newer uses a configurable limit for the maximum supported bulk input size. By default, it is
512MB which is a safe value for all platforms.

If the limit is significantly increased, receiving a large request from a client may trigger several integer
overflow scenarios, which would result with buffer overflow and heap corruption. This could in certain
conditions be exploited for remote code execution.

By default, authenticated Redis users have access to all configuration parameters and can therefore use the
'CONFIG SET proto-max-bulk-len' to change the safe default, making the system vulnerable.

This problem only affects 32-bit Redis (on a 32-bit system, or as a 32-bit executable running on a 64-bit
system).

Affected Software/OS:
Redis version 4.0 and later.

Solution:
Update to version 5.0.11, 6.0.11, 6.2 or later.

CVSS Score:
6.5

CVSS Vector:
AV:N/AC:L/Au:S/C:P/I:P/A:P

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2021-21309
https://github.com/redis/redis/security/advisories/GHSA-hgj8-vff2-7cjf
https://security.gentoo.org/glsa/202103-02
https://github.com/redis/redis/commit/c992857618db99776917f10bf4f2345a5fdc78b0
https://github.com/redis/redis/pull/8522
CopyrightCopyright (C) 2021 Greenbone Networks GmbH

This is only one of 146377 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.