Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| predis | predis | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Predis | Predis |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-w6f5-v2h6-g786 | Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.0% (1.002% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Predis
Predis predis |
|
| Vendors & Products |
Predis
Predis predis |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Predis is a flexible and feature-complete Redis and Valkey client for PHP. From version 3.0.0-RC1 until version 3.3.0, pipeline handling on aggregate cluster and replication connections reparses an already serialized RESP buffer in AbstractAggregateConnection::write() by splitting it with explode("\r\n") instead of honoring RESP length prefixes. Attacker-controlled keys or values containing CRLF sequences can therefore be interpreted by Command::deserializeCommand() as additional commands. On cluster connections, ClusterStrategy::getFakeKey() can route injected keyless commands using the literal fake key value "key", permitting operations such as shard-wide cache deletion, targeted data modification, data reads, or node disruption. On replication connections, malformed reparsing can throw an uncaught exception and repeatedly terminate affected requests. Only pipeline() reaches this vulnerable path; transaction() and MULTI are not affected. This issue is fixed in version 3.3.0. | |
| Title | Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections | |
| Weaknesses | CWE-93 | |
| References |
| |
| Metrics |
cvssV3_1
|