Skip to content

fix: bump bunit to 2.8.6, drop transitive AngleSharp pin - #171

Merged
andregoepel merged 1 commit into
mainfrom
bugfix/bunit-2.8.6-anglesharp-pin
Jul 30, 2026
Merged

andregoepel merged 1 commit into
mainfrom
bugfix/bunit-2.8.6-anglesharp-pin

Conversation

@andregoepel

Copy link
Copy Markdown
Owner

bUnit 2.8.6 declares AngleSharp >= 1.5.2 as a direct dependency, so the transitive security pin for GHSA-pgww-w46g-26qg / CVE-2026-54570 (and the CentralPackageTransitivePinningEnabled property that existed only for it) is no longer needed.

  • bunit 2.7.2 -> 2.8.6
  • removed the AngleSharp 1.5.2 pin and CentralPackageTransitivePinningEnabled
  • lock files regenerated; resolved AngleSharp is 1.5.2 via bUnit itself

Verified: build clean, dotnet list package --vulnerable --include-transitive reports no vulnerable packages, unit/bUnit tests green (122 passed). Testcontainers integration tests were not run locally (Docker unavailable); CI covers them.

Closes #97

🤖 Generated with Claude Code

@andregoepel
andregoepel merged commit a3b6dc0 into main Jul 30, 2026
4 checks passed
@andregoepel
andregoepel deleted the bugfix/bunit-2.8.6-anglesharp-pin branch July 30, 2026 17:48
andregoepel added a commit that referenced this pull request Aug 13, 2026
AndreGoepel.Marten.Testing -> Testcontainers 4.13.0 resolves SSH.NET
2025.1.0, which carries a high severity arbitrary-file-write advisory
(GHSA-q939-rpr3-3284). Since NU1903 is a hard error here, every restore
failed - on main, on dependabot #174 and on any other PR.

Testcontainers 4.13.0 is the latest release and still pulls the
vulnerable version, so there is nothing to bump upstream. Re-introduce
CentralPackageTransitivePinningEnabled with a single pin, the same
pattern used for the AngleSharp pin dropped in #171.

Also picks up a stale lock file entry: the Tests project still recorded
Marten 9.18.0 while central versions say 9.19.0.

Closes #177
andregoepel added a commit that referenced this pull request Aug 13, 2026
* Bump the nuget-minor-patch group with 10 updates

Bumps AndreGoepel.Core from 1.0.0 to 1.0.1
Bumps AndreGoepel.Marten.Identity.Blazor from 1.8.0 to 1.9.1
Bumps bunit from 2.8.6 to 2.9.0
Bumps Marten from 9.19.0 to 9.22.5
Bumps Npgsql from 9.0.4 to 9.0.5
Bumps Quartz.Extensions.Hosting from 3.18.2 to 3.19.1
Bumps Quartz.Serialization.SystemTextJson from 3.18.2 to 3.19.1
Bumps Radzen.Blazor from 11.1.7 to 11.2.2
Bumps WolverineFx.Marten from 6.22.0 to 6.25.0
Bumps WolverineFx.RuntimeCompilation from 6.22.0 to 6.25.0

---
updated-dependencies:
- dependency-name: AndreGoepel.Core
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget-minor-patch
- dependency-name: AndreGoepel.Marten.Identity.Blazor
  dependency-version: 1.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-patch
- dependency-name: bunit
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-patch
- dependency-name: Marten
  dependency-version: 9.22.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-patch
- dependency-name: Npgsql
  dependency-version: 9.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget-minor-patch
- dependency-name: Quartz.Extensions.Hosting
  dependency-version: 3.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-patch
- dependency-name: Quartz.Serialization.SystemTextJson
  dependency-version: 3.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-patch
- dependency-name: Radzen.Blazor
  dependency-version: 11.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-patch
- dependency-name: WolverineFx.Marten
  dependency-version: 6.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-patch
- dependency-name: WolverineFx.RuntimeCompilation
  dependency-version: 6.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): regenerate packages.lock.json

* fix: pin SSH.NET to patched 2026.0.0 via transitive security pin (#178)

AndreGoepel.Marten.Testing -> Testcontainers 4.13.0 resolves SSH.NET
2025.1.0, which carries a high severity arbitrary-file-write advisory
(GHSA-q939-rpr3-3284). Since NU1903 is a hard error here, every restore
failed - on main, on dependabot #174 and on any other PR.

Testcontainers 4.13.0 is the latest release and still pulls the
vulnerable version, so there is nothing to bump upstream. Re-introduce
CentralPackageTransitivePinningEnabled with a single pin, the same
pattern used for the AngleSharp pin dropped in #171.

Also picks up a stale lock file entry: the Tests project still recorded
Marten 9.18.0 while central versions say 9.19.0.

Closes #177

* docs: reference removal-tracking issue in the SSH.NET pin comment (#180)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: André Göpel <22834588+andregoepel@users.noreply.github.com>
Co-authored-by: André Göpel <andre@andregoepel.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove transitive AngleSharp 1.5.2 pin once bUnit resolves to >= 1.5.0

1 participant