Integer Overflow or Wraparound Affecting redis package, versions <7.0.5-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
78.85% (99th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE321-REDIS-8489267
  • published6 Dec 2024
  • disclosed23 Sept 2022

Introduced: 23 Sep 2022

CVE-2022-35951  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 redis to version 7.0.5-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis package and not the redis package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

Redis is an in-memory database that persists on disk. Versions 7.0.0 and above, prior to 7.0.5 are vulnerable to an Integer Overflow. Executing an XAUTOCLAIM command on a stream key in a specific state, with a specially crafted COUNT argument may cause an integer overflow, a subsequent heap overflow, and potentially lead to remote code execution. This has been patched in Redis version 7.0.5. No known workarounds exist.

CVSS Base Scores

version 3.1