fix(deps): suppress GHSA-2m69-gcr7-jv3q (SQLitePCLRaw CVE-2025-6965) until upstream patches#1444
Merged
Merged
Conversation
…until upstream patches SQLitePCLRaw.lib.e_sqlite3 2.1.11 is flagged by NuGetAudit for CVE-2025-6965 (SQLite < 3.50.2 memory corruption in aggregate-term handling). No patched version is available: 3.50.3 was published to NuGet then unlisted, and 2.1.11 remains the latest stable release. This is a transitive dependency introduced by Microsoft.Data.Sqlite. Use NuGetAuditSuppress to clear the NU1903 build break while we wait for Microsoft to ship a Microsoft.Data.Sqlite release that pins a non-vulnerable SQLitePCLRaw.lib.e_sqlite3. Remove this suppress once that upstream fix lands. Tracking: dotnet/efcore#38257
Aaronontheweb
enabled auto-merge (squash)
June 19, 2026 04:10
This was referenced Jun 22, 2026
Aaronontheweb
added a commit
to Aaronontheweb/akka.net
that referenced
this pull request
Jun 22, 2026
Pin SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 was rejected because it's an unlisted version. Instead, add NuGetAuditSuppress for GHSA-2m69-gcr7-jv3q (CVE-2025-6965) to the affected example projects, matching the approach used in netclaw-dev/netclaw#1444. Upstream fix tracking: - dotnet/efcore#38402
Aaronontheweb
added a commit
to akkadotnet/akka.net
that referenced
this pull request
Jun 22, 2026
…8278) * fix: suppress GHSA-2m69-gcr7-jv3q in SQLite-backed example projects Pin SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 was rejected because it's an unlisted version. Instead, add NuGetAuditSuppress for GHSA-2m69-gcr7-jv3q (CVE-2025-6965) to the affected example projects, matching the approach used in netclaw-dev/netclaw#1444. Upstream fix tracking: - dotnet/efcore#38402 * fix: move NuGetAuditSuppress into ItemGroup (MSBuild syntax) <NuGetAuditSuppress> requires an ItemGroup wrapper, not PropertyGroup. This was causing build failures for both SQLite-backed example projects. * fix: add NuGetAuditSuppress to Akka.Persistence.Custom.Tests The full solution build revealed a third SQLite-backed project that also needs the GHSA-2m69-gcr7-jv3q suppress: Akka.Persistence.Custom.Tests.
Aaronontheweb
added a commit
to Aaronontheweb/akka.net
that referenced
this pull request
Jun 22, 2026
Pin SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 was rejected because it's an unlisted version. Instead, add NuGetAuditSuppress for GHSA-2m69-gcr7-jv3q (CVE-2025-6965) to the affected example projects, matching the approach used in netclaw-dev/netclaw#1444. Upstream fix tracking: - dotnet/efcore#38402
Aaronontheweb
added a commit
to akkadotnet/akka.net
that referenced
this pull request
Jun 22, 2026
* fix: add NuGetAuditSuppress to Akka.Persistence.Custom.Tests The full solution build revealed a third SQLite-backed project that also needs the GHSA-2m69-gcr7-jv3q suppress: Akka.Persistence.Custom.Tests. * fix: move NuGetAuditSuppress into ItemGroup (MSBuild syntax) <NuGetAuditSuppress> requires an ItemGroup wrapper, not PropertyGroup. This was causing build failures for both SQLite-backed example projects. * fix: suppress GHSA-2m69-gcr7-jv3q in SQLite-backed example projects Pin SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 was rejected because it's an unlisted version. Instead, add NuGetAuditSuppress for GHSA-2m69-gcr7-jv3q (CVE-2025-6965) to the affected example projects, matching the approach used in netclaw-dev/netclaw#1444. Upstream fix tracking: - dotnet/efcore#38402 * fix: remove duplicate NuGetAuditSuppress from PropertyGroup <NuGetAuditSuppress> must only be in <ItemGroup>, not <PropertyGroup>. This was causing MSBuild errors for Akka.Persistence.Custom and ClusterSharding.Node example projects.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SQLitePCLRaw.lib.e_sqlite32.1.11 (transitive dep ofMicrosoft.Data.Sqlite) is flagged by NuGetAudit as high severity (CVE-2025-6965): SQLite < 3.50.2 has a memory corruption flaw in aggregate-term handlingSQLitePCLRaw.lib.e_sqlite3exists: 3.50.3 was published to NuGet then unlisted, and 2.1.11 remains the latest stable releaseosx-arm64native binary publish job (NU1903 as error)Fix
Adds a targeted
NuGetAuditSuppressfor this specific advisory inDirectory.Packages.props, following the same pattern as the existing MessagePack pin. Includes a comment with:Upstream tracking: dotnet/efcore#38257
Test plan
dotnet restorecompletes without NU1903 errors