Repository navigation
fix(deps): bump Microsoft.Kiota.Abstractions to 1.22.2 - #23228
Conversation
Override vulnerable transitive Microsoft.Kiota.Abstractions 1.9.1 (GHSA-7j59-v9qr-6fq9) pulled in by Microsoft.Graph 5.56.0 to resolve NU1903 build errors when consuming projects (e.g. SamplesApp.Skia.Generic) audit transitive dependencies in Release. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
There was a problem hiding this comment.
Pull request overview
This PR mitigates a NuGet vulnerability warning (NU1903) by explicitly pinning Microsoft.Kiota.Abstractions to a patched 1.x version in SamplesApp.Skia, preventing Release restores/builds from failing due to a vulnerable transitive dependency introduced by Microsoft.Graph.
Changes:
- Adds a Release-only
PackageReferenceoverride forMicrosoft.Kiota.Abstractionsat version1.22.2. - Documents the reason for the override inline (GHSA-7j59-v9qr-6fq9 affecting transitive
1.9.1).
PR description note: The repo guidelines require a linked Uno issue using a full URL (Fixes/Closes/Related to https://github.com/unoplatform/<REPO>/issues/#<ISSUE_NUMBER>). Please add the appropriate issue link (or the “No related issue…” note if applicable).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23228/wasm-skia-net9/index.html |
|
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23228/wasm-skia-net9/index.html |
|
The build 211641 found UI Test snapshots differences: Details
|
|
|
|
@Mergifyio backport release/stable/6.6 |
✅ Backports have been createdDetails
|
…6.6/pr-23228 fix(deps): bump Microsoft.Kiota.Abstractions to 1.22.2 (backport #23228)
|
@Mergifyio backport release/stable/6.5 |
✅ Backports have been createdDetails
|
…6.5/pr-23228 fix(deps): bump Microsoft.Kiota.Abstractions to 1.22.2 (backport #23228)
Summary
Microsoft.Kiota.Abstractions1.9.1 (advisory GHSA-7j59-v9qr-6fq9, high severity) pulled in byMicrosoft.Graph5.56.0.1.22.2(latest 1.x, fix landed in 1.22.0). Stays inside Microsoft.Graph 5.56.0''s[1.9.1, 2.0.0)constraint, so there is no risk of breaking the Graph dependency closure.Configuration!=Debugcondition on theMicrosoft.Graphreference, so Debug builds (where audit warnings are downgraded viaWarningsNotAsErrorsinDirectory.Build.props) are untouched.Why
Release builds of any project that transitively pulls in
Microsoft.GraphfromSamplesApp.Skiawere failing with:Observed on
SamplesApp.Skia.Generic(which referencesSamplesApp.Skiavia aProjectReference).The advisory:
RedirectHandlermiddleware was forwarding sensitive headers (Cookie,Proxy-Authorization, custom headers) on cross-host redirects. Fixed in 1.22.0.Test plan
dotnet restore src/SamplesApp/SamplesApp.Skia.Generic/SamplesApp.Skia.Generic.csprojsucceeds.SamplesApp.Skia.Genericno longer reports NU1903 forMicrosoft.Kiota.Abstractions.SamplesApp.Skia.Genericis unchanged (Microsoft.Graph + override are both Release-only).SamplesApp.Skiaand dependent heads passes.🤖 Generated with Claude Code