Repository navigation
Pin System.Formats.Cbor to the patched 10.0.15 - #4812
Merged
Merged
Conversation
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]>
akira28
approved these changes
Nov 11, 2026
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4812/ |
Member
Author
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
System.Formats.Cboris 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.Net0.4.1 depends onSystem.Formats.Cbor10.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 intoerror NU1902, because warnings are errors here, in every project that referencesPagefind.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.propsgetsSystem.Formats.Cbor10.0.15. Central package transitive pinning is already on, so the transitive reference resolves to it.Verify
Before the change the first command lists
System.Formats.Cbor 10.0.0as vulnerable. After it, it reports no vulnerable packages, and the build passes.🤖 Generated with Claude Code