Repository navigation
Merging internal commits for release/10.0.3xx - #7154
Merged
marcpopMSFT merged 12 commits intoJun 10, 2026
Merged
marcpopMSFT merged 12 commits into
marcpopMSFT merged 12 commits into
Conversation
backport of https://dev.azure.com/dnceng/internal/_git/dotnet-sdk/pullrequest/60602?path=/src/Cli/dotnet in the vmr which is needed for .net 10. includes changes that are specific to .net 10 versions of the source code, namely file namespaces / scopes
Restrict Workload Pipes 10.0.3xx backport of https://dev.azure.com/dnceng/internal/_git/dotnet-sdk/pullrequest/60602?path=/src/Cli/dotnet in the vmr which is needed for .net 10. includes changes that are specific to .net 10 versions of the source code, namely file namespaces / scopes ---- #### AI description (iteration 1) #### PR Classification Security enhancement to restrict workload pipe access and prevent directory traversal attacks in the .NET SDK installer. #### PR Summary This PR implements security hardening for the workload installer by restricting named pipe access to specific users and validating file paths to prevent directory traversal attacks. - `WindowsUtils.cs`: Added methods to retrieve process user SIDs, create restricted pipe security with user-specific access (not all authenticated users), and validate paths against traversal attacks - `NetSdkMsiInstallerServer.cs`: Modified pipe security configuration to grant access only to the parent process's user instead of all authenticated users - `MsiInstallerBase.cs` and `MsiPackageCache.cs`: Added path validation using `ValidatePackagePath`, `ValidatePathComponent`, and `ValidateLogFilePath` to prevent directory traversal - `WindowsInstallerTests.cs`: Added comprehensive unit tests for path validation, pipe security, and traversal attack prevention - `NativeMethods.cs`: Added `OpenProcessToken` P/Invoke for retrieving process security tokens <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
… dnceng/internal/dotnet-dotnet This pull request updates the following dependencies [marker]: <> (Begin:3ed06ccc-72db-4136-8a02-c9db8e46195c) ## From https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet - **Subscription**: [3ed06ccc-72db-4136-8a02-c9db8e46195c](https://maestro.dot.net/subscriptions?search=3ed06ccc-72db-4136-8a02-c9db8e46195c) - **Build**: [20260515.17](https://dev.azure.com/dnceng/internal/_build/results?buildId=2976129) ([314582](https://maestro.dot.net/channel/8858/azdo:dnceng:internal:dotnet-dotnet/build/314582)) - **Date Produced**: May 16, 2026 3:51:27 AM UTC - **Commit**: [ce4003e](https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet?_a=history&version=GCce4003e1780ffc11da98499334112b75a598837a) - **Branch**: [refs/heads/internal/release/10.0.1xx](https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet?version=GBrefs/heads/internal/release/10.0.1xx) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - 📂 `root` - From [10.0.0-beta.26229.119 to 10.0.0-beta.26265.117][1] - Microsoft.DotNet.Build.Manifest - From [10.0.108-servicing.26229.119 to 10.0.109-servicing.26265.117][1] - Microsoft.NET.Sdk - From [10.0.8 to 10.0.9][1] - Microsoft.NETCore.App.Ref - From [10.0.8-servicing.26229.119 to 10.0.9-servicing.26265.117][1] - Microsoft.NETCore.Platforms - 📂 `src/roslyn` - From [2.0.8 to 2.0.9][1] - System.CommandLine - 📂 `src/scenario-tests` - From [2.0.8 to 2.0.9][1] - System.CommandLine - 📂 `src/sdk` - From [10.0.8-servicing.26229.119 to 10.0.9-servicing.26265.117][1] - dotnet-dev-certs - dotnet-user-jwts - dotnet-user-secrets - Microsoft.AspNetCore.Analyzers - Microsoft.AspNetCore.App.Ref.Internal - Microsoft.AspNetCore.Components.SdkAnalyzers - Microsoft.AspNetCore.DeveloperCertificates.XPlat - Microsoft.AspNetCore.Mvc.Analyzers - Microsoft.AspNetCore.Mvc.Api.Analyzers - Microsoft.Dotnet.WinForms.ProjectTemplates - Microsoft.DotNet.Wpf.ProjectTemplates - Microsoft.NET.HostModel - Microsoft.NET.Sdk.WindowsDesktop - Microsoft.NETCore.Platforms - Microsoft.WindowsDesktop.App.Internal - From [10.0.8 to 10.0.9][1] - Microsoft.AspNetCore.App.Ref - Microsoft.AspNetCore.Authentication.Facebook - Microsoft.AspNetCore.Authentication.Google - Microsoft.AspNetCore.Authentication.MicrosoftAccount - Microsoft.AspNetCore.Authorization - Microsoft.AspNetCore.Components - Microsoft.AspNetCore.Components.Analyzers - Microsoft.AspNetCore.Components.Forms - Microsoft.AspNetCore.Components.Web - Microsoft.AspNetCore.Components.WebAssembly - Microsoft.AspNetCore.Components.WebAssembly.Server - Microsoft.AspNetCore.Components.WebView - Microsoft.AspNetCore.Metadata - Microsoft.AspNetCore.TestHost - Microsoft.Bcl.AsyncInterfaces - Mic...
… dnceng/internal/dotnet-dotnet This pull request updates the following dependencies [marker]: <> (Begin:3ed06ccc-72db-4136-8a02-c9db8e46195c) ## From https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet - **Subscription**: [3ed06ccc-72db-4136-8a02-c9db8e46195c](https://maestro.dot.net/subscriptions?search=3ed06ccc-72db-4136-8a02-c9db8e46195c) - **Build**: [20260520.8](https://dev.azure.com/dnceng/internal/_build/results?buildId=2979997) ([315276](https://maestro.dot.net/channel/8858/azdo:dnceng:internal:dotnet-dotnet/build/315276)) - **Date Produced**: May 20, 2026 11:17:18 PM UTC - **Commit**: [e324605](https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet?_a=history&version=GCe3246058490de40dc0dfd381bb8904c115a3a67a) - **Branch**: [refs/heads/internal/release/10.0.109](https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet?version=GBrefs/heads/internal/release/10.0.109) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - 📂 `root` - From [10.0.0-beta.26268.115 to 10.0.0-beta.26270.108][1] - Microsoft.DotNet.Build.Manifest - From [10.0.109-servicing.26268.115 to 10.0.109-servicing.26270.108][1] - Microsoft.NET.Sdk - From [10.0.9 to 10.0.9][1] - Microsoft.NETCore.App.Ref - From [10.0.9-servicing.26268.115 to 10.0.9-servicing.26270.108][1] - Microsoft.NETCore.Platforms - 📂 `src/roslyn` - From [2.0.9 to 2.0.9][1] - System.CommandLine - 📂 `src/scenario-tests` - From [2.0.9 to 2.0.9][1] - System.CommandLine - 📂 `src/sdk` - From [10.0.9-servicing.26268.115 to 10.0.9-servicing.26270.108][1] - dotnet-dev-certs - dotnet-user-jwts - dotnet-user-secrets - Microsoft.AspNetCore.Analyzers - Microsoft.AspNetCore.App.Ref.Internal - Microsoft.AspNetCore.Components.SdkAnalyzers - Microsoft.AspNetCore.DeveloperCertificates.XPlat - Microsoft.AspNetCore.Mvc.Analyzers - Microsoft.AspNetCore.Mvc.Api.Analyzers - Microsoft.Dotnet.WinForms.ProjectTemplates - Microsoft.DotNet.Wpf.ProjectTemplates - Microsoft.NET.HostModel - Microsoft.NET.Sdk.WindowsDesktop - Microsoft.NETCore.Platforms - Microsoft.WindowsDesktop.App.Internal - From [10.0.9 to 10.0.9][1] - Microsoft.AspNetCore.App.Ref - Microsoft.AspNetCore.Authentication.Facebook - Microsoft.AspNetCore.Authentication.Google - Microsoft.AspNetCore.Authentication.MicrosoftAccount - Microsoft.AspNetCore.Authorization - Microsoft.AspNetCore.Components - Microsoft.AspNetCore.Components.Analyzers - Microsoft.AspNetCore.Components.Forms - Microsoft.AspNetCore.Components.Web - Microsoft.AspNetCore.Components.WebAssembly - Microsoft.AspNetCore.Components.WebAssembly.Server - Microsoft.AspNetCore.Components.WebView - Microsoft.AspNetCore.Metadata - Microsoft.AspNetCore.TestHost - Microsoft.Bcl.AsyncInterfaces - Mic...
…-merge-10.0.3xx-2026-06-09-1508
marcpopMSFT
approved these changes
Jun 10, 2026
Member
|
expected changes to the versions files so that check is not applicable |
Member
|
@jeffhandley step 1 of unblocking the MCP flow into 3xx. Need a passing CI here, then backflow to sdk, then remerge the inter-branch flow over there as the remaining steps. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.