Skip to content

Update OpenAPI packages to remediate CG alerts - #17459

Merged
missymessa merged 3 commits into
dotnet:mainfrom
missymessa:missymessa/12400-openapi-yamlreader-cg
Sep 3, 2026
Merged

missymessa merged 3 commits into
dotnet:mainfrom
missymessa:missymessa/12400-openapi-yamlreader-cg

Conversation

@missymessa

Copy link
Copy Markdown
Member

Summary

  • update Microsoft.OpenApi and Microsoft.OpenApi.YamlReader from 3.10.0 to 3.10.2
  • remediate Component Governance alert 16467641 (MVS-2026-v5jr-5phm)
  • update the transitive SharpYaml dependency from vulnerable 2.1.4 to fixed 2.1.5, remediating alert 16438341 (MVS-2026-hqm8-ggjx)

Validation

  • affected Swagger Generator project builds successfully with no warnings or errors
  • resolved graph contains Microsoft.OpenApi.YamlReader 3.10.2 and SharpYaml 2.1.5
  • dotnet list package --vulnerable --include-transitive reports no vulnerable packages for the affected project
  • full local Arcade validation was attempted twice but stopped on the unrelated Microsoft.DotNet.XUnitV3Extensions.AlwaysFalseConditionalAssembly.Tests missing generated apphost.exe failure; PR CI provides full repository validation

AB#12400

Remediate the Microsoft.OpenApi.YamlReader and transitive SharpYaml Component Governance alerts.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: a6ad3a92-2023-4c67-8948-f6d34de1a67c
Copilot AI lite review requested due to automatic review settings August 31, 2026 16:57

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.

🟢 Approval recommended

Pull request overview

Updates centrally-managed OpenAPI package versions to remediate Component Governance vulnerability alerts, ensuring downstream Swagger Generator dependencies resolve to patched transitive components.

Changes:

  • Bumped Microsoft.OpenApi from 3.10.0 to 3.10.2.
  • Bumped Microsoft.OpenApi.YamlReader from 3.10.0 to 3.10.2 (bringing in the fixed transitive SharpYaml per PR description).
File summaries
File Description
Directory.Packages.props Central package version update for Microsoft.OpenApi and Microsoft.OpenApi.YamlReader to pick up security fixes and remediate CG alerts.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@missymessa

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@missymessa
missymessa enabled auto-merge (squash) September 1, 2026 13:32
Copilot AI review requested due to automatic review settings September 1, 2026 13:32

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.

🟢 Approval recommended

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

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.

🟢 Approval recommended

The change is a targeted patch-level dependency update in central package management with no additional functional/code-path changes introduced.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@missymessa
missymessa merged commit 8537617 into dotnet:main Sep 3, 2026
12 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 4, 2026
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.

3 participants