rustsec-2025-0043
Vulnerability from osv_rustsec
Published
2025-07-11 12:00
Modified
2025-07-11 15:30
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.
{
"affected": [
{
"database_specific": {
"categories": [
"format-injection"
],
"cvss": null,
"informational": null
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [
"matrix_sdk_sqlite::SqliteEventCacheStore::find_event_relations"
],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "matrix-sdk-sqlite",
"purl": "pkg:cargo/matrix-sdk-sqlite"
},
"ranges": [
{
"events": [
{
"introduced": "0.11.0"
},
{
"fixed": "0.13.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"CVE-2025-53549",
"GHSA-275g-g844-73jh"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "The `SqliteEventCacheStore::find_event_with_relations` function constructs SQL\nqueries using `format!()` with unescaped input, allowing an attacker to inject\narbitrary SQL. This results in a SQL injection vulnerability.",
"id": "RUSTSEC-2025-0043",
"modified": "2025-07-11T15:30:12Z",
"published": "2025-07-11T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/matrix-sdk-sqlite"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0043.html"
},
{
"type": "ADVISORY",
"url": "https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-275g-g844-73jh"
}
],
"related": [],
"severity": [],
"summary": "matrix-sdk-sqlite: SQL injection vulnerability in `SqliteEventCacheStore::find_event_with_relations`"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…