Advisory

RUSTSEC-2025-0043

Also known as: CVE-2025-53549, GHSA-275g-g844-73jh

Summary

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.

Severity

Not rated by the source.

Dates

Published
2025-07-11 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

matrix-sdk-sqlite

crates.io · All systems

Affected

  • introduced 0.11.0, fixed 0.13.0 (semver)

Fixed versions

0.13.0

Fix

  • Fixed version 0.13.0
    cargo update -p matrix-sdk-sqlite --precise 0.13.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences