Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| FalkorDB | FalkorDB | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Falkordb | Falkordb |
|
Vendor Solution
Upgrade FalkorDB to version 4.18.1 or later.
Vendor Workaround
Require authentication on the Redis/FalkorDB instance (requirepass or ACLs), restrict or rename the REPLICAOF/SLAVEOF commands so untrusted clients cannot use them, and do not expose the instance to untrusted networks.
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.554% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A double free and use-after-free vulnerability in the RdbLoadDeletedNodes function of the RDB graph decoders (src/serializers/decoders/*/decode_graph_entities.c) in FalkorDB before 4.18.1 allows a remote attacker who can issue Redis replication commands (for example, against an instance with no password configured) to cause a denial of service or execute arbitrary code in the redis-server process by supplying a crafted RDB stream whose deleted-nodes buffer length is not a multiple of sizeof(NodeID). The length check relies on ASSERT(), which is compiled out in release builds, so the function continues after freeing the buffer, reading it and freeing it a second time. | |
| Title | Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB | |
| First Time appeared |
Falkordb
Falkordb falkordb |
|
| Weaknesses | CWE-415 CWE-416 |
|
| CPEs | cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Falkordb
Falkordb falkordb |
|
| References |
| |
| Metrics |
cvssV3_1
|