Skip to content

fix(server): pin MessagePack to remediate GHSA-hv8m-jj95-wg3x#94

Merged
CalvinAllen merged 1 commit into
mainfrom
worktree-fix+server+messagepack-vulnerability
Jun 16, 2026
Merged

fix(server): pin MessagePack to remediate GHSA-hv8m-jj95-wg3x#94
CalvinAllen merged 1 commit into
mainfrom
worktree-fix+server+messagepack-vulnerability

Conversation

@CalvinAllen

Copy link
Copy Markdown
Contributor

Summary

CI builds are failing during NuGet restore with NU1903 (warning-as-error):

Package MessagePack 2.5.187 has a known high severity vulnerability, GHSA-hv8m-jj95-wg3x

MessagePack 2.5.187 is pulled in transitively by StreamJsonRpc 2.20.20 in CodingWithCalvin.MCPServer.Server. Because the build treats warnings as errors, the advisory blocks every build — including unrelated PRs such as #93.

Change

Add a direct PackageReference to MessagePack 2.5.302 (latest patched 2.5.x, advisory fixed in 2.5.192) to override the vulnerable transitive version.

Validation

  • dotnet publish of the Server project now restores and builds cleanly with no NU1903 error.

StreamJsonRpc 2.20.20 transitively pulls MessagePack 2.5.187, which has
a known high severity vulnerability (NU1903). With warnings-as-errors
enabled, this fails restore/build in CI. Pin MessagePack to 2.5.302,
the latest patched 2.5.x release.
@CalvinAllen CalvinAllen force-pushed the worktree-fix+server+messagepack-vulnerability branch from 35bb5ff to 88f0656 Compare June 16, 2026 19:15
@CalvinAllen CalvinAllen merged commit 3ffeb7b into main Jun 16, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the worktree-fix+server+messagepack-vulnerability branch June 16, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant