Skip to content

Update Microsoft.AspNetCore.OData to 9.5.0 - #14224

Merged
SergeyMenshykh merged 1 commit into
microsoft:mainfrom
SergeyMenshykh:sergeymenshykh-fix-odata-vulnerability
Jul 28, 2026
Merged

Update Microsoft.AspNetCore.OData to 9.5.0#14224
SergeyMenshykh merged 1 commit into
microsoft:mainfrom
SergeyMenshykh:sergeymenshykh-fix-odata-vulnerability

Conversation

@SergeyMenshykh

@SergeyMenshykh SergeyMenshykh commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Pin Microsoft.AspNetCore.OData to version 9.5.0 in Directory.Packages.props. This overrides the transitive dependency brought in by OData2Linq 2.2.0 used in the Entity Framework structured data plugin.

Copilot AI review requested due to automatic review settings July 28, 2026 12:05
@SergeyMenshykh
SergeyMenshykh requested a review from a team as a code owner July 28, 2026 12:05
@SergeyMenshykh SergeyMenshykh self-assigned this Jul 28, 2026
@SergeyMenshykh SergeyMenshykh moved this to In Review in Agent Framework Jul 28, 2026
@SergeyMenshykh SergeyMenshykh moved this to Sprint: In Review in Semantic Kernel Jul 28, 2026
@SergeyMenshykh
SergeyMenshykh enabled auto-merge July 28, 2026 12:07

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.

Pull request overview

Pins Microsoft.AspNetCore.OData to a specific version via central package management to ensure the repo consumes the patched package version (overriding the transitive dependency coming from OData2Linq 2.2.0) for the .NET structured data / EF plugin area.

Changes:

  • Add a central package version pin for Microsoft.AspNetCore.OData to 9.5.0 in dotnet/Directory.Packages.props.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dotnet/Directory.Packages.props Outdated
Comment thread dotnet/Directory.Packages.props Outdated

@github-actions github-actions Bot 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.

Automated Code Review

Reviewers: 4 | Confidence: 83%

✓ Correctness

This PR adds a pined version of Microsoft.AspNetCore.OData 9.5.0 to Directory.Packages.props to override a transitive dependency from OData2Linq 2.2.0 and pick up a security fix. The change is minimal, correctly placed in central package management, and the transitive dependency path via OData2Linq (line 96) is confirmed in the same file. No correctness issues found.

✓ Security Reliability

The PR adds a PackageVersion entry for Microsoft.AspNetCore.OData to override a transitive dependency from OData2Linq for a security fix. However, CentralPackageTransitivePinningEnabled is not set to true anywhere in the repository. Without this property, NuGet's central package management will not pin transitive dependencies — the PackageVersion entry only controls direct PackageReference items. Since no project has a direct reference to Microsoft.AspNetCore.OData (it is purely transitive via OData2Linq), this change will have no effect on the resolved package version, and the intended security fix will not be applied.

✓ Test Coverage

This PR pins Microsoft.AspNetCore.OData to version 9.5.0 in Directory.Packages.props to address a security fix. The change is a pure dependency version override for a transitive dependency brought in by OData2Linq in the Entity Framework structured data plugin. No new behavioral code is introduced, so no new tests are needed. Existing tests for the Plugins.StructuredData.EntityFramework project would catch any regression from the version bump.

✓ Failure Modes

This PR adds a central package version pin for Microsoft.AspNetCore.OData 9.5.0 in Directory.Packages.props to pick up a security fix. The package is a transitive dependency of OData2Linq 2.2.0 (confirmed at line 96 of the same file), used by the Entity Framework structured data plugin. The change is purely a version override with no code modifications, introducing no new failure modes.


Automated review by SergeyMenshykh's agents

Comment thread dotnet/Directory.Packages.props Outdated
@SergeyMenshykh
SergeyMenshykh force-pushed the sergeymenshykh-fix-odata-vulnerability branch from 9dc145c to 9d26c6e Compare July 28, 2026 12:11
@SergeyMenshykh
SergeyMenshykh force-pushed the sergeymenshykh-fix-odata-vulnerability branch from 9d26c6e to 21f8006 Compare July 28, 2026 12:16
Pin Microsoft.AspNetCore.OData to version 9.5.0 to address a security
fix in the package. This overrides the transitive dependency brought in
by OData2Linq 2.2.0.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a8efdd59-6d18-4194-8561-1d4144f87333
@SergeyMenshykh
SergeyMenshykh force-pushed the sergeymenshykh-fix-odata-vulnerability branch from 21f8006 to ec8ee7a Compare July 28, 2026 14:26
@SergeyMenshykh
SergeyMenshykh added this pull request to the merge queue Jul 28, 2026
Merged via the queue into microsoft:main with commit 441ac99 Jul 28, 2026
18 checks passed
@SergeyMenshykh
SergeyMenshykh deleted the sergeymenshykh-fix-odata-vulnerability branch July 28, 2026 15:40
@github-project-automation github-project-automation Bot moved this from Sprint: In Review to Sprint: Done in Semantic Kernel Jul 28, 2026
@github-project-automation github-project-automation Bot moved this from In Review to Done in Agent Framework Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: Sprint: Done

Development

Successfully merging this pull request may close these issues.

4 participants