Skip to content

Pin the patched System.Text.Json under the notebook extension - #2116

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
pin-the-patched-system-text-json-in-the-notebook-extension
Oct 24, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
pin-the-patched-system-text-json-in-the-notebook-extension

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #542.

Microsoft.DotNet.Interactive 1.0.0-beta.23611.1 brings System.Text.Json 8.0.0 into AngouriMath.Interactive, with two high advisories, GHSA-hh2w-p6rv-4g7w and GHSA-8g4q-xg66-9fp4. A direct reference to 8.0.6, the patched build on the same major line, pulls it forward, as #797 did for the terminal. It is not an upgrade of Microsoft.DotNet.Interactive, because the notebook host supplies it, and building against a newer one than the host's is how FSharp.Core hung a kernel in #2108.

before after
dotnet list … package --vulnerable --include-transitive 2 advisories none
InteractiveWrapperUnitTests 19 passed, 1 skipped
F# sample in the binder image, dev packages from a local feed 39/39 code cells, no errors
C# kernel loading AngouriMath.Interactive there loads, no errors
System.Text.Json the kernel loads the host's, 10.0.0.0

No answer changes, so no BREAKING-CHANGES entry.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

Microsoft.DotNet.Interactive 1.0.0-beta.23611.1 brings System.Text.Json 8.0.0
into AngouriMath.Interactive, with two high severity advisories, both denials
of service: GHSA-hh2w-p6rv-4g7w and GHSA-8g4q-xg66-9fp4. A direct reference to
8.0.6, the patched build on the same major line, pulls it forward, as #797 did
for System.Security.Cryptography.Xml under the terminal.

Not an upgrade of Microsoft.DotNet.Interactive, although its newest beta
depends on System.Text.Json 10.0.0: the notebook host supplies that package,
and building against a newer one than the host's is how FSharp.Core 10.1 hung
a kernel in #2108.

dotnet list --vulnerable --include-transitive goes from two advisories to none,
the build has no warnings, and the Interactive wrapper tests pass, 19 with 1
skipped. Packed with AngouriMath and AngouriMath.FSharp at a dev version to a
local feed and loaded in the binder image (dotnet-interactive 1.0.712001), the
F# sample runs all 39 of its code cells and a C# kernel loads the extension
and runs its cells, with no errors. The System.Text.Json loaded is the host's
own, 10.0.0.0 from the shared framework.

Part of #542

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet Rafael-SOWNet added this to the 2.7.0 milestone Oct 24, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 90babd7 into master Oct 24, 2026
27 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 24, 2026
@Rafael-SOWNet
Rafael-SOWNet deleted the pin-the-patched-system-text-json-in-the-notebook-extension branch October 25, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant