Bug 2129701 (CVE-2022-35951)

Summary: CVE-2022-35951 redis: heap overflow in XAUTOCLAIM command's COUNT argument
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aekoroglu, agerstmayr, aileenc, apevec, bcoca, bdettelb, chazlett, chousekn, cmeyers, davidn, eglynn, extras-orphan, fabian.deutsch, fedora, fpercoco, gblomqui, gmalinko, gparvin, hhorak, jal233, janstey, jcammara, jhardy, jjoyce, jobarker, jochrist, jorton, jpavlik, jramanat, jwon, lhh, mabashia, mburns, mgarciac, mgoodwin, nathans, njean, notting, osapryki, pahickey, pdelbell, python-packagers-sig, rcollet, redis-maint, relrod, rhos-maint, rpetrell, sdoran, smcdonal, spower, stcannon, tkuratom
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: redis 7.0.5 Doc Type: If docs needed, set a value
Doc Text:
An Integer Overflow attack vulnerability was found in Redis, an in-memory database that persists on disk. Executing a `XAUTOCLAIM` command on a stream key in a specific state with a specially crafted `COUNT` argument may cause an integer overflow, and a subsequent heap overflow, potentially leading to remote code execution.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-28 22:54:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2129028    

Description Sandipan Roy 2022-09-26 04:42:32 UTC
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.

https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9

Comment 1 Product Security DevOps Team 2022-11-28 22:54:00 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-35951