Skip to content

Update Aspire and WebUtilities to their patched releases - #11021

Merged
glen-84 merged 1 commit into
mainfrom
gai/aspire-webutilities-security-updates
Nov 21, 2026
Merged

glen-84 merged 1 commit into
mainfrom
gai/aspire-webutilities-security-updates

Conversation

@glen-84

@glen-84 glen-84 commented Nov 21, 2026

Copy link
Copy Markdown
Member

Summary

  • Clears GHSA-f7vh-h5g3-7jrh (Aspire elevation of privilege) by moving every Aspire package and Aspire.AppHost.Sdk to 13.6.5. HotChocolate.Fusion.Aspire now requires Aspire 13.6.5 and uses the Services property that replaces the obsolete ServiceProvider on Aspire's command contexts. It no longer references MessagePack or Microsoft.Extensions.Logging directly, because Aspire.Hosting 13.6.5 brings both at the versions it needs, which also retires the MessagePack security pins in the AppHosts.
  • Clears GHSA-x33c-w48q-qrgc (ASP.NET Core multipart denial of service) by raising Microsoft.AspNetCore.WebUtilities to 8.0.34, 9.0.23, and 10.0.15 on net8.0, net9.0, and net10.0. That is the floor StrawberryShake.Transport.Http, Mocha.Transport.InMemory, Mocha.Transport.RabbitMQ, and CookieCrumble now publish; net11.0 already resolves the fixed 11.0.0.
  • Sets NuGetAuditMode to all, so restore reports transitive advisories on every target framework, net8.0, net9.0, and the netstandard2.0 analyzers included.

Test plan

  • dotnet list package --vulnerable --include-transitive reports no vulnerable package in src/All.slnx or the AzureServiceBusTransport example.
  • src/All.slnx and the four Aspire AppHosts restore and build.
  • HotChocolate.Fusion.Aspire.Tests passes on net9.0, net10.0, and net11.0.
  • DeferOverHttpTests and HttpMultipartMiddlewareTests in HotChocolate.AspNetCore.Tests, and UriHelpersTests in Mocha.Transport.RabbitMQ.Tests, pass on net8.0, net9.0, and net10.0.

Closes #10868

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

No active review issues are identified, and the changes update dependencies and corresponding API usage consistently.

No open issues 🎉

What changed in this PR

Updates Aspire and ASP.NET Core WebUtilities dependencies to patched releases, while adapting Fusion Aspire integrations to the updated command-context and interaction APIs.

Changes:

  • Upgrades Aspire packages and AppHost SDKs to 13.6.5, removing obsolete MessagePack and logging pins.
  • Updates Fusion Aspire code and tests from ServiceProvider to Services and supports the new interaction methods.
  • Raises WebUtilities versions for net8.0, net9.0, and net10.0, and enables transitive NuGet auditing.
File Description
src/​Mocha/​examples/​PostgresTransport/​PostgresTransport.AppHost/​PostgresTransport.AppHost.csproj Upgrades the AppHost SDK and removes the obsolete MessagePack pin.
src/​Mocha/​examples/​PostgresTransport/​Directory.Packages.props Upgrades PostgreSQL Aspire package versions.
src/​Mocha/​examples/​Demo/​Directory.Packages.props Upgrades Demo Aspire package versions.
src/​Mocha/​examples/​Demo/​Demo.AppHost/​Demo.AppHost.csproj Upgrades the AppHost SDK and removes the obsolete MessagePack pin.
src/​Mocha/​examples/​AzureServiceBusTransport/​Directory.Packages.props Upgrades Azure Service Bus Aspire package versions.
src/​Mocha/​examples/​AzureServiceBusTransport/​AzureServiceBusTransport.AppHost/​AzureServiceBusTransport.AppHost.csproj Upgrades the AppHost SDK and removes the obsolete MessagePack pin.
src/​HotChocolate/​Fusion/​test/​Fusion.Aspire.Tests/​NitroExtensionsTests.cs Updates command-context test setup to use the Services property.
src/​HotChocolate/​Fusion/​test/​Fusion.Aspire.Tests/​Nitro/​NitroSchemaValidationNotifierTests.cs Implements interaction methods required by the updated Aspire API.
src/​HotChocolate/​Fusion/​test/​Fusion.Aspire.Tests/​HotChocolate.Fusion.Aspire.Tests.csproj Suppresses the applicable Aspire terminal interaction analyzer warning.
src/​HotChocolate/​Fusion/​src/​Fusion.Aspire/​NitroExtensions.cs Updates command execution and state callbacks to resolve services through Services.
src/​HotChocolate/​Fusion/​src/​Fusion.Aspire/​HotChocolate.Fusion.Aspire.csproj Removes direct MessagePack and logging dependencies supplied by the patched Aspire release.
src/​HotChocolate/​Fusion/​src/​Fusion.Aspire/​GraphQLResourceBuilderExtensions.cs Updates composition commands to resolve services through the command context's Services property.
src/​HotChocolate/​AspNetCore/​benchmarks/​k6/​Catalog.AppHost/​eShop.Catalog.AppHost.csproj Upgrades the AppHost SDK and removes the obsolete MessagePack reference.
src/​Directory.Packages.props Upgrades Aspire and framework-specific WebUtilities versions and removes the central MessagePack pin.
src/​Directory.Build.props Enables auditing of direct and transitive NuGet dependencies.
dictionary.txt Adds the new Aspire analyzer identifiers to the spelling dictionary.

Review effort: Lite

@github-actions

Copy link
Copy Markdown
Contributor

Patch coverage

100.0% of changed lines covered (3/3)

File Covered Changed Patch %
…/Fusion/src/Fusion.Aspire/GraphQLResourceBuilderExtensions.cs 1 1 100.0% 🟢
src/HotChocolate/Fusion/src/Fusion.Aspire/NitroExtensions.cs 2 2 100.0% 🟢

Project coverage: 60.0% (329529/549092 lines)

@github-actions

Copy link
Copy Markdown
Contributor

✅ Nitro CLI E2E snapshots: no flow recordings changed vs main.

@glen-84
glen-84 merged commit d336a5a into main Nov 21, 2026
162 checks passed
@glen-84
glen-84 deleted the gai/aspire-webutilities-security-updates branch November 21, 2026 11:52
michaelstaib added a commit to michaelstaib/graphql-platform that referenced this pull request Nov 23, 2026
* [Website] Fix HTTP response formatter docs for the v16 API (ChilliCream#10951)

* Fix the release failing while installing k6 for the Fusion PGO profile (ChilliCream#10952)

* Fix the AspNetCore tests failing to build for .NET 8 (ChilliCream#10962)

* Rename the Draft20260903 transport version to September2026 (ChilliCream#10963)

* [Fusion] Match fully reused entities on XxHash3 keys and copy producer rows once (ChilliCream#10941)

* Deprecate the Draft20230127 transport version (ChilliCream#10964)

* [Website] Update benchmark results (ChilliCream#10965)

* Enable empty selection sets by default (ChilliCream#10971)

* Add empty selection set support to StrawberryShake (ChilliCream#10972)

* Persist GitHub CLI login across container rebuilds (ChilliCream#10974)

* Fix the Green Donut documentation link in the README (ChilliCream#10973)

* [Fusion] Fix missing operation plan metadata in YAML test snapshot diffs (ChilliCream#10975)

* Use OIDC for Docker Hub login (ChilliCream#10976)

* [Website] Update benchmark results (ChilliCream#10977)

* Coordinate commercial builds and releases (ChilliCream#10970)

* Parallelize repository preparation in prepare-release.sh (ChilliCream#10978)

* Remove the cloud platform update from the release workflow (ChilliCream#10979)

* [Fusion] Reduce allocations on the error path (ChilliCream#10981)

* [Fusion] Fix missing errors for nested shared value types (ChilliCream#10967)

Co-authored-by: tobias-tengler <45513122+tobias-tengler@users.noreply.github.com>

* [Fusion] Fix null propagation for required list items (ChilliCream#10983)

* [Fusion] Fix lookup error paths (ChilliCream#10986)

* [Fusion] Fix missing errors for null required object list items (ChilliCream#10989)

* [Fusion] Fix late subgraph results dropping siblings of nulled objects (ChilliCream#10990)

* [Fusion] Fix late subgraph results reporting false list length mismatches (ChilliCream#10991)

* [Fusion] Fix results with more than 32,767 source documents throwing (ChilliCream#10998)

* [Website] Update npm dependencies to clear advisories (ChilliCream#11002)

* Update .NET SDK to 11.0.100 (ChilliCream#11004)

* [Fusion] Reduce allocations when forwarding errors (ChilliCream#11003)

* [Nitro CLI] Accept Apollo persisted query manifests for client upload/validate (ChilliCream#11005)

* [Mocha] Fix dispatch race during endpoint startup (ChilliCream#11006)

* [Mocha] Fix ExponentialBackoff returning the same delay once it reaches the maximum (ChilliCream#10870)

* [Mocha] Log receive failures and circuit breaker state changes, and fix the conversation ID of the receive span (ChilliCream#10871)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Fix RequestAsync waiting for a dispatch that outlasts the response timeout (ChilliCream#10872)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Report unhealthy transports in the message bus health check and add a timeout (ChilliCream#10873)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Start reply endpoints first, stop them last, and finish cleanup when a stop is cancelled (ChilliCream#10874)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Fix the Postgres outbox using up the attempts of a message while the transport is unavailable (ChilliCream#10875)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Fix scheduled messages using up their attempts while the transport is unavailable (ChilliCream#10876)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Prepare the RabbitMQ transport: internal connection types, RabbitMQ.Client 7.2.2, provisioning with the connection, queue defaults (ChilliCream#10877)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Add the RabbitMQ connection manager and failure classification (ChilliCream#10878)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Fix RabbitMQ consumers not attaching again after a channel or connection loss (ChilliCream#10879)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Fix RabbitMQ sends and publishes completing without the broker's confirmation (ChilliCream#10880)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Fix messages for a missing RabbitMQ queue or exchange being dropped (ChilliCream#10881)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Fix RabbitMQ requests being sent before the reply consumer is attached (ChilliCream#10882)

Co-authored-by: Pascal Senn <pascal@chillicream.com>

* [Mocha] Move the outbox and scheduler dispatch intervals into their options (ChilliCream#11007)

* Update the .NET 11 packages to the GA release (ChilliCream#11008)

* [Mocha] Fix scalar JSON bodies being cut to their last byte when a stored envelope is read (ChilliCream#11014)

* [Mocha] Fix generated registrations for message types found at publish and send call sites (ChilliCream#11013)

* [Mocha] Fix docs that name APIs and delivery guarantees Mocha does not have (ChilliCream#11015)

* [Mocha] Add UseDispatch, UseReceive and UseConsume to the message bus host builder (ChilliCream#11020)

* Update Aspire and WebUtilities to their patched releases (ChilliCream#11021)

* Set a 7-day NuGet minimum publish age, exempting ChilliCream packages (ChilliCream#11023)

* Replace custom test loggers and clocks with Microsoft testing utilities (ChilliCream#11025)

* [Mocha] Fix saga replies being lost when the sending instance stops (ChilliCream#11022)

* [Fusion] Fix PGO profile handoff to commercial builds (ChilliCream#11027)

* [Fusion] Fix a source schema result staying unreleased when the result callback throws in an alias batch (ChilliCream#11009)

* Fix the fixed-size array pool reserving slots for its largest level up front (ChilliCream#11011)

* Skip unescaping and hashing request documents the parser has seen before (ChilliCream#11010)

* Fix Postgres subscription dispose leaking a connection or hanging (ChilliCream#11026)

* [Mocha] Fix saga replies being discarded when they arrive before the saga state is saved (ChilliCream#11028)

* Snapshot small request feature collections without a frozen dictionary (ChilliCream#10942)

* Fix the cache dropping an entry when a duplicate of its key is evicted (ChilliCream#11039)

* Write the accessed flag of a cache entry only when it is not set (ChilliCream#11040)

* [Fusion] Call Apollo Federation entity lookups without nested async iterators (ChilliCream#11041)

* [Fusion] Read source schema results with the shape that their operation expects (ChilliCream#11043)

* [Website] Add Mocha comparison pages and migration guides (ChilliCream#11024)

* [Fusion] Keep the scratch state of entity lookups per request and build error variable sets on demand (ChilliCream#11042)

* [Fusion] Reference the closed options services of the gateway so Native AOT binaries contain them (ChilliCream#11012)

* [Fusion] Set the operation planner version to 2.13.0

* [Fusion] Update the plan snapshots of the deferred tests to the snapshot format of main

* [Fusion] Fix a sibling field being lost when a late source result has errors below a nulled position

---------

Co-authored-by: Glen <glen.84@gmail.com>
Co-authored-by: Tobias Tengler <45513122+tobias-tengler@users.noreply.github.com>
Co-authored-by: Faris Basha TM <72191505+farisbasha@users.noreply.github.com>
Co-authored-by: vbornand <vbo@netswipe.ch>
Co-authored-by: PascalSenn <senn.pasc@gmail.com>
Co-authored-by: Pascal Senn <pascal@chillicream.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StrawberryShake.Transport.Http pins vulnerable Microsoft.AspNetCore.WebUtilities 10.0.0

2 participants