Skip to content

Bump MessagePack to 2.5.307 and pin Pkcs to the patched versions - #10646

Merged
glen-84 merged 1 commit into
mainfrom
gai/clear-messagepack-pkcs-advisories
Oct 20, 2026
Merged

glen-84 merged 1 commit into
mainfrom
gai/clear-messagepack-pkcs-advisories

Conversation

@glen-84

@glen-84 glen-84 commented Oct 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Bumps MessagePack from 2.5.302 to 2.5.307 and pins it in the four Aspire AppHost projects that resolve it through Aspire.Hosting.AppHost 13.6.1. 2.5.307 clears GHSA-qhrr-8q5h-9q3h and two maintainer advisories that are not in the GitHub Advisory Database yet, GHSA-7rj2-5w9w-r9jx and GHSA-fx6j-x9m5-vmrf. HotChocolate.Fusion.Aspire now depends on MessagePack >= 2.5.307.
  • Pins System.Security.Cryptography.Pkcs in CookieCrumble.Resources.SqlServer, where Microsoft.Data.SqlClient 7.1.1 resolves 8.0.1 or 9.0.18 (GHSA-846f-f764-76mx, GHSA-2fmv-rv2c-59x7). The reference takes the per-framework versions already in Directory.Packages.props. The project is test infrastructure and is not published, so no package's published dependencies change.

Test plan

  • dotnet list package --vulnerable --include-transitive reports nothing for the Fusion, AspNetCore, eShop, Mocha Demo, CookieCrumble, and GreenDonut solutions, or for the AzureServiceBusTransport and PostgresTransport AppHosts.
  • All of them build. The AzureServiceBusTransport example builds only with EnforceCodeStyleInBuild=false, because of existing IDE0005 and IDE1006 errors in its projects.
  • HotChocolate.Fusion.Aspire.Tests (net9.0, net10.0, net11.0) and GreenDonut.Data.EntityFramework.Tests (net8.0 to net11.0, SQL Server container tests included) pass.

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.

🟢 Approval recommended

No unresolved review issues were identified.

No open issues 🎉

What changed in this PR

Updates MessagePack and PKCS dependencies to patched versions across Aspire AppHosts and SQL Server test infrastructure.

Changes:

  • Upgrades MessagePack to 2.5.307 and pins it where required.
  • Adds patched, framework-specific System.Security.Cryptography.Pkcs references.
File Description
src/​Mocha/​examples/​PostgresTransport/​PostgresTransport.AppHost/​PostgresTransport.AppHost.csproj Pins MessagePack.
src/​Mocha/​examples/​Demo/​Demo.AppHost/​Demo.AppHost.csproj Pins MessagePack.
src/​Mocha/​examples/​AzureServiceBusTransport/​AzureServiceBusTransport.AppHost/​AzureServiceBusTransport.AppHost.csproj Pins MessagePack.
src/​HotChocolate/​AspNetCore/​benchmarks/​k6/​Catalog.AppHost/​eShop.Catalog.AppHost.csproj References the centrally upgraded MessagePack package.
src/​Directory.Packages.props Updates central MessagePack and PKCS versions.
src/​CookieCrumble/​src/​CookieCrumble.Resources.SqlServer/​CookieCrumble.Resources.SqlServer.csproj Pins the patched PKCS dependency.

Review effort: Lite

@github-actions

Copy link
Copy Markdown
Contributor

✅ Nitro CLI E2E snapshots: no flow recordings changed vs main.

@glen-84
glen-84 merged commit 7e88963 into main Oct 20, 2026
308 of 310 checks passed
@glen-84
glen-84 deleted the gai/clear-messagepack-pkcs-advisories branch October 20, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants