Skip to content

fix(deps): pin transitive MessagePack to 2.5.301 (NU1903 breaks all CI)#1299

Merged
iammukeshm merged 1 commit into
mainfrom
fix/pin-messagepack-nu1903
Jun 12, 2026
Merged

fix(deps): pin transitive MessagePack to 2.5.301 (NU1903 breaks all CI)#1299
iammukeshm merged 1 commit into
mainfrom
fix/pin-messagepack-nu1903

Conversation

@iammukeshm

Copy link
Copy Markdown
Member

Why

GitHub advisory GHSA-hv8m-jj95-wg3x (high severity — LZ4 decompression AccessViolationException) was published against MessagePack < 2.5.301. Microsoft.AspNetCore.SignalR.StackExchangeRedis 10.0.8 pulls MessagePack 2.5.187 transitively, and NuGet audit runs with warnings-as-errors — so every dotnet restore in CI now fails with NU1903, breaking all PR checks repo-wide (this is what turned #1298 and every other open PR red).

What

One PackageVersion entry in Directory.Packages.props under a new "Transitive security pins" group. CentralPackageTransitivePinningEnabled is already on, so this single entry bumps the transitive across the whole solution (and the dotnet new fsh template, which packs from this same source).

Remove the pin once the SignalR backplane package depends on a patched MessagePack itself.

Testing

  • dotnet restore --force-evaluate — exit 0, no NU1903/NU1109.
  • dotnet build src/FSH.Starter.slnx — 0 warnings, 0 errors (warnings-as-errors).

🤖 Generated with Claude Code

GitHub advisory GHSA-hv8m-jj95-wg3x (high severity, LZ4 decompression
AccessViolationException) was published against MessagePack < 2.5.301,
which Microsoft.AspNetCore.SignalR.StackExchangeRedis pulls in at
2.5.187. NuGet audit runs with warnings-as-errors, so every restore in
CI now fails with NU1903 — breaking all PR checks regardless of their
content. CentralPackageTransitivePinningEnabled is on, so a single
PackageVersion entry bumps the transitive across the solution.

Remove the pin once the SignalR backplane package references a patched
MessagePack itself.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@iammukeshm iammukeshm merged commit 080d65e into main Jun 12, 2026
16 checks passed
@iammukeshm iammukeshm deleted the fix/pin-messagepack-nu1903 branch June 12, 2026 13:00
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