ADVISORIES

RustSec Advisory Database

RUSTSEC-2025-0043

matrix-sdk-sqlite: SQL injection vulnerability in `SqliteEventCacheStore::find_event_with_relations`

Details

The SqliteEventCacheStore::find_event_with_relations function constructs SQL queries using format!() with unescaped input, allowing an attacker to inject arbitrary SQL. This results in a SQL injection vulnerability.

Affected packages

EcosystemPackageAffected versions
crates.iomatrix-sdk-sqlite
From 0.11.0 before 0.13.0 (fixed in 0.13.0)

References