Skip to content

fix(deps): suppress GHSA-2m69-gcr7-jv3q (SQLitePCLRaw CVE-2025-6965) until upstream patches#1444

Merged
Aaronontheweb merged 1 commit into
devfrom
fix/sqlite-pclraw-vulnerability
Jun 19, 2026
Merged

fix(deps): suppress GHSA-2m69-gcr7-jv3q (SQLitePCLRaw CVE-2025-6965) until upstream patches#1444
Aaronontheweb merged 1 commit into
devfrom
fix/sqlite-pclraw-vulnerability

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Collaborator

Summary

  • SQLitePCLRaw.lib.e_sqlite3 2.1.11 (transitive dep of Microsoft.Data.Sqlite) is flagged by NuGetAudit as high severity (CVE-2025-6965): SQLite < 3.50.2 has a memory corruption flaw in aggregate-term handling
  • No patched version of SQLitePCLRaw.lib.e_sqlite3 exists: 3.50.3 was published to NuGet then unlisted, and 2.1.11 remains the latest stable release
  • This is breaking CI on the osx-arm64 native binary publish job (NU1903 as error)

Fix

Adds a targeted NuGetAuditSuppress for this specific advisory in Directory.Packages.props, following the same pattern as the existing MessagePack pin. Includes a comment with:

  • The CVE and GHSA IDs
  • Why we can't pin to a fixed version
  • The upstream tracking issue to remove this once Microsoft ships a fix

Upstream tracking: dotnet/efcore#38257

Test plan

  • dotnet restore completes without NU1903 errors
  • CI passes — the osx-arm64 native binary publish job unblocks

…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
Aaronontheweb enabled auto-merge (squash) June 19, 2026 04:10
@Aaronontheweb
Aaronontheweb merged commit 9195a4a into dev Jun 19, 2026
20 of 21 checks passed
@Aaronontheweb
Aaronontheweb deleted the fix/sqlite-pclraw-vulnerability branch June 19, 2026 04:34
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.
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.

1 participant