Skip to content

SourceLink 10.0.401 - Microsoft.Build.Tasks.Git 8.0.0 fails the NuGet audit (GHSA-23fw-v26w-5fgq) - #56

Open
Andrei-Errapart wants to merge 1 commit into
issus:masterfrom
Andrei-Errapart:FixSourceLinkAdvisory
Open

Andrei-Errapart wants to merge 1 commit into
issus:masterfrom
Andrei-Errapart:FixSourceLinkAdvisory

Conversation

@Andrei-Errapart

Copy link
Copy Markdown

Summary

Since 2026-09-08 every restore of OriginalCircuit.Altium and OriginalCircuit.Altium.Generators fails with
error NU1902: Package 'Microsoft.Build.Tasks.Git' 8.0.0 has a known moderate severity vulnerability,
GHSA-23fw-v26w-5fgq GitHub advisory GHSA-23fw-v26w-5fgq (CVE-2026-62900,
.NET information disclosure) flags Microsoft.Build.Tasks.Git 8.0.0, the dependency of Microsoft.SourceLink.GitHub 8.0.0
that Directory.Build.props references.

Directory.Build.props runs the NuGet audit with NuGetAuditLevel=low and promotes NU1901-NU1904 to errors, so the
advisory turns every dotnet restore, dotnet build and dotnet publish of the library into a hard failure on any
machine whose NuGet feed serves the vulnerability data. The advisory lists no patched 8.x; the current stable release
outside the vulnerable ranges is 10.0.401 (the vulnerable 10.x ranges are 10.0.102-10.0.110, 10.0.200-10.0.204 and
10.0.300-10.0.301).

Changes

  • Directory.Build.props: Microsoft.SourceLink.GitHub 8.0.0 -> 10.0.401 (PrivateAssets="All" unchanged). SourceLink 10.x builds with the .NET 10 SDK the repository already targets. No source or API change.

Test Plan

  • Existing tests pass (dotnet test): 865 passed, 10 skipped, 0 failed on OriginalCircuit.Altium.sln, with the NuGet audit still enabled at level low and NU1901-NU1904 still errors.
  • dotnet restore src/OriginalCircuit.Altium/OriginalCircuit.Altium.csproj completes without NU19xx diagnostics; before the change it fails with the two NU1902 errors above.
  • New tests added for new behavior - not applicable, build configuration only.

Checklist

  • Code follows existing style and conventions
  • Public API changes are documented with XML doc comments - no API change
  • No breaking changes

…ed by GHSA-23fw-v26w-5fgq

NuGet audit runs at level low with NU1901-NU1904 as errors, so since the
advisory (CVE-2026-62900, published 2026-09-08) every restore of
OriginalCircuit.Altium and the generator fails with NU1902 on
Microsoft.Build.Tasks.Git 8.0.0, pulled in by Microsoft.SourceLink.GitHub
8.0.0. No 8.x is patched; 10.0.401 is the current stable release outside the
vulnerable ranges.
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.

1 participant