Skip to content

Commit 0a5500c

Browse files
committed
Add SQLitePCLRaw.bundle_e_sqlite3 to address CVE-2025-6965 vulnerability
1 parent 95f3349 commit 0a5500c

3 files changed

Lines changed: 7 additions & 29 deletions

File tree

Directory.Packages.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
<PackageVersion Include="RustPlusApi.Fcm" Version="2.0.0-beta.1" />
1616
<PackageVersion Include="SixLabors.ImageSharp" Version="3.1.12" />
1717
<PackageVersion Include="SixLabors.ImageSharp.Drawing" Version="2.1.7" />
18+
<!-- Pinned to override the transitive 2.1.11 pulled by Microsoft.EntityFrameworkCore.Sqlite,
19+
whose bundled SQLite is vulnerable to CVE-2025-6965 (GHSA-2m69-gcr7-jv3q). 3.0.x bundles
20+
SQLite >= 3.50.2. Drop once EF Core ships a build that depends on a patched SQLitePCLRaw. -->
21+
<PackageVersion Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
1822
</ItemGroup>
1923
<ItemGroup>
2024
<!-- Test + sample -->

NOTICE

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/RustPlusBot.Persistence/RustPlusBot.Persistence.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
<PrivateAssets>all</PrivateAssets>
1212
</PackageReference>
1313
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" />
14+
<!-- Direct reference forces the patched SQLitePCLRaw 3.0.x graph over the transitive 2.1.11
15+
from EF Core Sqlite (CVE-2025-6965). Flows to all DB-touching projects via this one. -->
16+
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" />
1417
<PackageReference Include="Persistord.Core" />
1518
</ItemGroup>
1619

0 commit comments

Comments
 (0)