Skip to content

deps(core): remove the obsolete MessagePack pin - #1347

Merged
kimpenhaus merged 1 commit into
mainfrom
deps/remove-messagepack-pin
Nov 23, 2026
Merged

kimpenhaus merged 1 commit into
mainfrom
deps/remove-messagepack-pin

Conversation

@kimpenhaus

Copy link
Copy Markdown
Collaborator

What

Removes the MessagePack pin from KubeOps.Aspire.Hosting (PackageReference and the central PackageVersion).

Why

The pin was added to keep the transitive MessagePack (via Aspire.Hosting → StreamJsonRpc) out of GHSA-hv8m-jj95-wg3x, which affects < 2.5.301 and >= 3.0.214-rc.1, < 3.1.7.

Aspire.Hosting 13.6.5 (current main) and 17.0.0 both reference MessagePack 2.5.307 and StreamJsonRpc 2.25.29 (which brings 2.5.302) directly, all outside the vulnerable ranges. The pin no longer protects anything; it only forces MessagePack 3.x onto every consumer of KubeOps.Aspire.Hosting, while Aspire and StreamJsonRpc are built against 2.5.x.

Found while reviewing #1340 (point 6).

Behavioural change

KubeOps.Aspire.Hosting now resolves MessagePack 2.5.307, the version Aspire ships with, instead of 3.1.12. Consumers that reference MessagePack 3.x themselves keep their version.

Validation

  • dotnet list package --vulnerable --include-transitive for KubeOps.Aspire.Hosting: no vulnerable packages
  • Release build of KubeOps.Aspire.Hosting.Test (incl. the example AppHost) and its 36 tests pass

KubeOps.Aspire.Hosting pinned the transitive MessagePack to 3.1.12 to
avoid GHSA-hv8m-jj95-wg3x (MessagePack < 2.5.301 and 3.0.x-3.1.6).
Aspire.Hosting now references MessagePack 2.5.307 and StreamJsonRpc
2.25.29 itself, both outside the vulnerable ranges, so the pin no
longer serves a purpose. It only forced MessagePack 3.x onto every
consumer, while Aspire and StreamJsonRpc are built against 2.5.x.

The package now resolves MessagePack 2.5.307, as Aspire ships it.
@kimpenhaus
kimpenhaus enabled auto-merge (squash) November 23, 2026 18:11
@kimpenhaus
kimpenhaus merged commit 5d1c108 into main Nov 23, 2026
6 checks passed
@kimpenhaus
kimpenhaus deleted the deps/remove-messagepack-pin branch November 23, 2026 18:15
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 14.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant