Commit 9fe7eeb
authored
fix(security): override SQLite native to 3.50.4 — fix CVE-2025-6965 (#48)
Microsoft.Data.Sqlite 10.0.9 transitively pins SQLitePCLRaw 2.1.11, whose
bundled e_sqlite3 is SQLite < 3.50.2 — vulnerable to CVE-2025-6965 (GHSA-2m69
-gcr7-jv3q, high, memory corruption when aggregate terms exceed available
columns). Add a direct reference to SQLitePCLRaw.bundle_e_sqlite3 3.0.3, which
ships SQLite 3.50.4.5, dropping the vulnerable lib.e_sqlite3 from the graph.
Verified: dotnet restore clears NU1903 with no version-downgrade conflicts;
Release build clean (0 warnings); runtime smoke test confirms M.D.Sqlite 10.0.9
binds to SQLitePCLRaw core 3.0.3 and the DELETE ... RETURNING atomic-claim
pattern works (SELECT sqlite_version() reports 3.50.4).1 parent 17278a6 commit 9fe7eeb
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
0 commit comments