Bump Testcontainers.PostgreSql to 4.14.0 - #20
Merged
Conversation
GHSA-q939-rpr3-3284 (high severity, SSH.NET <= 2025.1.0) was published after the last dependabot PRs ran, so NuGet audit now fails restore on main with NU1903 (warnings are errors). Testcontainers 4.14.0 pulls the patched SSH.NET 2026.0.0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Why main is red
Both
mainpushes after merging #18/#19 fail inRestore/Build backendwith:GHSA-q939-rpr3-3284 (SSH.NET <= 2025.1.0, arbitrary file write via ScpClient) was published between the dependabot PR runs (Aug 12, green) and the merge pushes (Aug 14, red) - NuGet audit checks the advisory DB at restore time, and this repo treats warnings as errors, so main broke without a code change.
Fix
SSH.NET comes in transitively via
Testcontainers.PostgreSql. Testcontainers 4.14.0 (released today) depends on the patched SSH.NET 2026.0.0, so this is the upstream fix rather than a transitive pin or an audit suppression. OSV reports no advisories against either new version.Verified locally
dotnet restore- clean, no NU1903dotnet build --no-restore -c Release- 0 warnings, 0 errorsdotnet test --no-build -c Release- 13/13 unit, 30/30 integration (real PostgreSQL via Testcontainers 4.14.0 against Docker)🤖 Generated with Claude Code