Swoole before 6.1.14 and 6.2.x before 6.2.7 Redis Server Out-of-Bounds Read
Summary
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in php_swoole_redis_server_onReceive() that trusts unchecked RESP bulk string lengths. Unauthenticated clients can announce oversized lengths to leak adjacent worker heap memory in responses, or negative lengths to crash work...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| swooleswoole |
< 6.1.14→ 6.1.14 ≥ 6.2.0, < 6.2.7→ 6.2.7 |
6.1.14 6.2.7 |
Original description The description as published by the source.
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in php_swoole_redis_server_onReceive() that trusts unchecked RESP bulk string lengths. Unauthenticated clients can announce oversized lengths to leak adjacent worker heap memory in responses, or negative lengths to crash workers.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory VulnCheck Advisory: Swoole before 6.1.14 and 6.2.x before 6.2.7 Redis Server Out-of-Bounds Read
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web swoole v6.1.14 Release Notes
- web swoole v6.2.7 Release Notes
- web github.com