Integer Overflow or Wraparound Affecting antirez/redis package, versions [6.2.0,6.2.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.51% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ANTIREZREDIS-2365172
  • published26 Jan 2022
  • disclosed4 May 2021
  • creditUnknown

Introduced: 4 May 2021

CVE-2021-29478  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade antirez/redis to version 6.2.3 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis 6.2 before 6.2.3 could be exploited to corrupt the heap and potentially result with remote code execution. Redis 6.0 and earlier are not directly affected by this issue. The problem is fixed in version 6.2.3. 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.

References

CVSS Scores

version 3.1