Skip to content

fix: backport #8278 — suppress GHSA-2m69-gcr7-jv3q in v1.5 - #8280

Merged
Aaronontheweb merged 4 commits into
akkadotnet:v1.5from
Aaronontheweb:backport/8278-to-v1.5
Jun 22, 2026
Merged

Aaronontheweb merged 4 commits into
akkadotnet:v1.5from
Aaronontheweb:backport/8278-to-v1.5

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Member

Summary

Backport of dev PR #8278 to the v1.5 branch.

What this does

Add <NuGetAuditSuppress Include="https://github.com/advisories/GHSA-2m69-gcr7-jv3q" /> to the SQLite-backed example projects on v1.5 to unblock CI, matching the fix on dev.

Cherry-picked commits from dev PR #8278

  • 674e57761 fix: add NuGetAuditSuppress to Akka.Persistence.Custom.Tests
  • f9f4e30c8 fix: move NuGetAuditSuppress into ItemGroup (MSBuild syntax)
  • fc09b1e77 fix: suppress GHSA-2m69-gcr7-jv3q in SQLite-backed example projects

Projects patched

  • src/examples/Akka.Persistence.Custom/Akka.Persistence.Custom.csproj
  • src/examples/Akka.Persistence.Custom.Tests/Akka.Persistence.Custom.Tests.csproj
  • src/examples/Cluster/ClusterSharding/ClusterSharding.Node/ClusterSharding.Node.csproj

No code changes

This is a metadata-only change — the suppress prevents the NU1903 vulnerability warning without modifying any application code.

The full solution build revealed a third SQLite-backed project that also
needs the GHSA-2m69-gcr7-jv3q suppress: Akka.Persistence.Custom.Tests.
<NuGetAuditSuppress> requires an ItemGroup wrapper, not PropertyGroup.
This was causing build failures for both 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
<NuGetAuditSuppress> must only be in <ItemGroup>, not <PropertyGroup>.
This was causing MSBuild errors for Akka.Persistence.Custom and
ClusterSharding.Node example projects.
@Aaronontheweb
Aaronontheweb enabled auto-merge (squash) June 22, 2026 17:14
@Aaronontheweb
Aaronontheweb merged commit 3b91d55 into akkadotnet:v1.5 Jun 22, 2026
11 checks passed
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