Repository navigation
deps(core): remove the obsolete MessagePack pin - #1347
Merged
Merged
Conversation
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.
|
🎉 This PR is included in version 14.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This was referenced Nov 30, 2026
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.
What
Removes the
MessagePackpin fromKubeOps.Aspire.Hosting(PackageReferenceand the centralPackageVersion).Why
The pin was added to keep the transitive
MessagePack(viaAspire.Hosting→StreamJsonRpc) out of GHSA-hv8m-jj95-wg3x, which affects< 2.5.301and>= 3.0.214-rc.1, < 3.1.7.Aspire.Hosting13.6.5 (currentmain) and 17.0.0 both referenceMessagePack2.5.307 andStreamJsonRpc2.25.29 (which brings 2.5.302) directly, all outside the vulnerable ranges. The pin no longer protects anything; it only forcesMessagePack3.x onto every consumer ofKubeOps.Aspire.Hosting, while Aspire andStreamJsonRpcare built against 2.5.x.Found while reviewing #1340 (point 6).
Behavioural change
KubeOps.Aspire.Hostingnow resolvesMessagePack2.5.307, the version Aspire ships with, instead of 3.1.12. Consumers that referenceMessagePack3.x themselves keep their version.Validation
dotnet list package --vulnerable --include-transitiveforKubeOps.Aspire.Hosting: no vulnerable packagesKubeOps.Aspire.Hosting.Test(incl. the example AppHost) and its 36 tests pass