Skip to content

Update package versions and mitigate CVE-2025-6965 (transitive SQLite)#605

Merged
jschick04 merged 1 commit into
mainfrom
jschick/package-updates
Jun 19, 2026
Merged

Update package versions and mitigate CVE-2025-6965 (transitive SQLite)#605
jschick04 merged 1 commit into
mainfrom
jschick/package-updates

Conversation

@jschick04

Copy link
Copy Markdown
Collaborator

Summary

Updates centrally-managed package versions in Directory.Packages.props and adds a temporary
security override to clear the CVE-2025-6965 advisory on the transitive native SQLite library.

Package version bumps

Package From To
Microsoft.WindowsAppSDK 1.7.250909003 2.2.0
Microsoft.Extensions.DependencyInjection (+ Abstractions) 10.0.5 10.0.9
Microsoft.Extensions.Logging.Abstractions 10.0.5 10.0.9
System.CommandLine 2.0.5 2.0.9
Microsoft.Data.Sqlite 10.0.5 10.0.9
Microsoft.EntityFrameworkCore.Sqlite 10.0.5 10.0.9
Microsoft.NET.Test.Sdk 18.4.0 18.6.0
coverlet.collector 8.0.1 10.0.1

SQLite CVE-2025-6965 mitigation

Microsoft.Data.Sqlite / Microsoft.EntityFrameworkCore.Sqlite 10.0.9 still transitively resolve
SQLitePCLRaw.bundle_e_sqlite3 2.1.11 → SQLitePCLRaw.lib.e_sqlite3 2.1.11 (SQLite < 3.50.2), which is
flagged by CVE-2025-6965 / GHSA-2m69-gcr7-jv3q
(High). There is no 2.1.x patch.

This pins only the native SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 via Central Package Management
transitive pinning (CentralPackageTransitivePinningEnabled). That package has no managed dependencies,
so the SQLitePCLRaw 2.x managed core (which Microsoft.Data.Sqlite 10.0.9 was built against) is
unchanged — only the bundled SQLite native binary moves to 3.50.3.

Temporary workaround until Microsoft.Data.Sqlite ships the upstream fix
(dotnet/efcore #38402, milestone 11.0-preview6).
Removal is tracked by #604.

Verification

  • dotnet nuget why on all three SQLite-consuming projects (Runtime, Provider.Database,
    Eventing.TestUtils) now resolves lib.e_sqlite33.50.3 (bundle stays 2.1.11).
  • Forced dotnet restore on those projects: no NuGet version-conflict warnings.
  • EventLogExpert.Provider.Database builds clean (0 warnings, 0 errors).

Bump central package versions in Directory.Packages.props:
- Microsoft.WindowsAppSDK 1.7.250909003 -> 2.2.0
- Microsoft.Extensions.* 10.0.5 -> 10.0.9
- System.CommandLine 2.0.5 -> 2.0.9
- Microsoft.Data.Sqlite / Microsoft.EntityFrameworkCore.Sqlite 10.0.5 -> 10.0.9
- Microsoft.NET.Test.Sdk 18.4.0 -> 18.6.0
- coverlet.collector 8.0.1 -> 10.0.1

Add a temporary security override pinning the transitively-resolved native
SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 (SQLite 3.50.3) to clear CVE-2025-6965
(GHSA-2m69-gcr7-jv3q). Microsoft.Data.Sqlite / EF Core 10.0.9 still pull
SQLitePCLRaw.bundle_e_sqlite3 2.1.11 -> lib.e_sqlite3 2.1.11; lib.e_sqlite3
3.50.3 is native-only so the SQLitePCLRaw 2.x managed core is unchanged.
Enabled CentralPackageTransitivePinningEnabled to allow the pin. Tracked for
removal by #604.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 19, 2026 15:42
@jschick04
jschick04 requested a review from a team as a code owner June 19, 2026 15:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates centrally-managed NuGet package versions and adds a Central Package Management transitive pin to mitigate CVE-2025-6965 by overriding the resolved native SQLite binary version.

Changes:

  • Bumped centrally-managed package versions (WindowsAppSDK, Extensions.*, System.CommandLine, Sqlite/EFCore.Sqlite, and test tooling).
  • Enabled Central Package transitive pinning and pinned SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 as a temporary security override for CVE-2025-6965 (tracked by #604).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jschick04
jschick04 merged commit d182e59 into main Jun 19, 2026
8 checks passed
@jschick04
jschick04 deleted the jschick/package-updates branch June 19, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants