Repository navigation
fix(deps): update vulnerable package pins - #11519
Conversation
There was a problem hiding this comment.
🔵 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.
Code coverage
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 |
(cherry picked from commit b304f9e) Upstream-PR: dotnet#11519 Upstream-Commit: b304f9e
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.
CI restore fails with
NU1902because 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.Pkcs8.0.2. Use that patched version for .NET 8, retain Pkcs 10.0.13 for .NET 10, and remove the temporaryMicrosoft.Bcl.Cryptography10.0.12 andSystem.Formats.Asn110.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