Skip to content

fix(deps): update vulnerable package pins - #11519

Merged
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:rb-fix-update-vulnerable-packages
Oct 16, 2026
Merged

ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:rb-fix-update-vulnerable-packages

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

CI restore fails with NU1902 because MessagePack 3.1.7 is affected by GHSA-qhrr-8q5h-9q3h, as seen in the AWS DynamoDB job for #11490.

Update MessagePack to 3.1.11 in the central package versions, four independently versioned samples, and the serialization documentation snippet. This patch includes the reported nested-array fix and the subsequent regex backtracking and LZ4 integer-overflow security fixes, while keeping all MessagePack pins aligned.

Also simplify the SqlClient cryptography pins introduced in #11497 now that the repository package feed serves System.Security.Cryptography.Pkcs 8.0.2. Use that patched version for .NET 8, retain Pkcs 10.0.13 for .NET 10, and remove the temporary Microsoft.Bcl.Cryptography 10.0.12 and System.Formats.Asn1 10.0.12 pins. Pkcs 8.0.2 has no package dependencies on .NET 8 and addresses both GHSA-2fmv-rv2c-59x7 and GHSA-846f-f764-76mx.

Microsoft Reviewers: Open in CodeFlow

Copilot AI balanced review requested due to automatic review settings October 16, 2026 11:59

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.

🔵 Needs a closer look

Build and test checks remain in progress, so successful validation of the dependency update is not yet confirmed.

0 open findings

What changed in this PR

Updates MessagePack from 3.1.7 to 3.1.11 to address security-related restore failures while keeping Orleans dependency versions aligned.

Changes:

  • Updates the central package version and four independent samples.
  • Aligns the serialization documentation snippet with the same patch.
File Description
samples/​JournalingAzureBlobJson/​Directory.Packages.props Updates sample dependency.
samples/​JournaledTodoList/​Directory.Packages.props Updates sample dependency.
samples/​DurableJobsMigration/​Directory.Packages.props Updates sample dependency.
samples/​BasicClustering/​Directory.Packages.props Updates sample dependency.
docs/​site/​src/​content/​docs/​host/​configuration-guide/​snippets/​serialization/​serialization.csproj Aligns snippet dependency.
Directory.Packages.props Updates repository-wide dependency.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI balanced review requested due to automatic review settings October 16, 2026 12:32
@ReubenBond ReubenBond changed the title fix(deps): update MessagePack to 3.1.11 fix(deps): update vulnerable package pins Oct 16, 2026
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Code coverage

Metric Pull request
Lines 83.44% (118,595 / 142,124)
Branches 73.05% (35,303 / 48,326)

Report-only conclusion: current-main baseline stale.

Current main advanced from 68e5f18 to b304f9e while coverage was aggregated.

Coverage combines every CI test matrix job, including providers, CodeGen, .NET 8/10, Linux, Windows, and macOS, using canonical physical source and branch identities.

The comparison remains report-only while normal line and branch variance is calibrated.

Coverage details

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.

🔵 Needs a closer look

Build, cross-framework tests, and sample/documentation validation remain in progress, leaving dependency compatibility unconfirmed.

0 open findings

🧠 Review effort: Balanced

@ReubenBond
ReubenBond merged commit b304f9e into dotnet:main Oct 16, 2026
92 checks passed
@ReubenBond
ReubenBond deleted the rb-fix-update-vulnerable-packages branch October 16, 2026 13:08
ReubenBond added a commit to ReubenBond/orleans that referenced this pull request Oct 22, 2026
(cherry picked from commit b304f9e)

Upstream-PR: dotnet#11519
Upstream-Commit: b304f9e
ReubenBond added a commit to ReubenBond/orleans that referenced this pull request Oct 22, 2026
Backport the approved MessagePack and framework-specific Pkcs pins from dotnet#11519 and dotnet#11497. These remove the normal NuGet audit blockers (dotnet#11518 and dotnet#11495) on this older author head without changing package sources, weakening audit enforcement, or importing the broader main integration conflicts.
ReubenBond added a commit that referenced this pull request Oct 23, 2026
(cherry picked from commit b304f9e)

Upstream-PR: #11519
Upstream-Commit: b304f9e
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants