Skip to content

Pin System.Formats.Cbor to the patched 10.0.15 - #4812

Merged
Mpdreamz merged 1 commit into
mainfrom
fix/pin-system-formats-cbor
Nov 11, 2026
Merged

Mpdreamz merged 1 commit into
mainfrom
fix/pin-system-formats-cbor

Conversation

@Mpdreamz

Copy link
Copy Markdown
Member

System.Formats.Cbor is pinned to 10.0.15, the patched version, so builds stop failing on a security advisory that was published last night.

Affects: Automation

Why

Pagefind.Net 0.4.1 depends on System.Formats.Cbor 10.0.0. GHSA-vmv3-wvjp-wqpj (a denial of service in 10.0.0 to 10.0.14) was published on 2026-11-10 at 23:20 UTC. NuGet audit turns it into error NU1902, because warnings are errors here, in every project that references Pagefind.Net. Every build that restores packages after that time fails, whatever it changes. A pull request that was green yesterday fails today.

What

The patched version, pinned

Directory.Packages.props gets System.Formats.Cbor 10.0.15. Central package transitive pinning is already on, so the transitive reference resolves to it.

Verify

dotnet list src/Elastic.Markdown package --vulnerable --include-transitive
dotnet build src/Elastic.Markdown

Before the change the first command lists System.Formats.Cbor 10.0.0 as vulnerable. After it, it reports no vulnerable packages, and the build passes.

🤖 Generated with Claude Code

Pagefind.Net brings in System.Formats.Cbor 10.0.0, which has a known denial of service advisory since last night, and NuGet audit treats it as an error, so every new build failed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz requested a review from a team as a code owner November 11, 2026 08:38
@Mpdreamz
Mpdreamz requested a review from reakaleek November 11, 2026 08:38
@github-actions

Copy link
Copy Markdown
Contributor

@Mpdreamz
Mpdreamz merged commit b0f5bd7 into main Nov 11, 2026
54 checks passed
@Mpdreamz

Copy link
Copy Markdown
Member Author

Merged by heed (squash) because every merge rule held:

  • Green: every green rule holds
  • Reviewed after push: approved by @akira28 on b3009dc
  • Quiet: nothing new for 15m
  • Gate checks: Analyze (actions), Analyze (csharp), Analyze (javascript-typescript), CodeQL, Libra passed
  • No hold label: none

@Mpdreamz
Mpdreamz deleted the fix/pin-system-formats-cbor branch November 11, 2026 08:59
Mpdreamz added a commit to nullean/pagefind-net that referenced this pull request Nov 11, 2026
`Pagefind.Net` now depends on `System.Formats.Cbor` 10.0.15, so a
project that references it no longer carries a package with a known
security advisory.

## Why


[GHSA-vmv3-wvjp-wqpj](GHSA-vmv3-wvjp-wqpj)
(CVE-2026-118747, a denial of service in `System.Formats.Cbor` 10.0.0 to
10.0.14) was published on 2026-11-10. `Pagefind.Net` 0.4.1 depends on
10.0.0, so NuGet audit reports `NU1902` for every project that
references it, and an error where warnings are errors.
[elastic/docs-builder](https://github.com/elastic/docs-builder) failed
every new build because of it until it pinned the patched version itself
in
[elastic/docs-builder#4812](elastic/docs-builder#4812).

## What

#### The dependency floor
`Directory.Packages.props` moves `System.Formats.Cbor` from 10.0.0 to
10.0.15, so the nuspec of the next release asks for the patched version
and consumers need no pin of their own.

## Verify

```bash
dotnet list src/Pagefind.Net package --vulnerable --include-transitive
dotnet run -c Release --project tests/Pagefind.Net.Tests
```

Before the change the first command lists `System.Formats.Cbor` 10.0.0
as vulnerable. After it, it reports no vulnerable packages, and the 45
unit tests pass.

**Out of scope:** no release. docs-builder needs a new `Pagefind.Net`
version to drop its own pin.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Mpdreamz added a commit that referenced this pull request Nov 11, 2026
* Bump Pagefind.Net to 0.4.2 and drop the System.Formats.Cbor pin

Pagefind.Net 0.4.2 depends on System.Formats.Cbor 10.0.15, so the explicit pin added in #4812 is no longer needed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Move Pagefind.Net.Frontend to 0.4.2 with Pagefind.Net

The two packages ship together, and 0.4.2 of both is on NuGet.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

2 participants