Skip to content

Dependabot alerts and pins for System.Security.Cryptography.* reached only through the test-only EF Core Design reference #194

Closed

Description

@CaffeinatedCoder

Problem

Thirteen Dependabot alerts (#1–#13) are open on test/CodoMetis.ValueRanges.EFCore.PostgreSQL.Tests: eleven for System.Security.Cryptography.Xml 9.0.0 and two for System.Security.Cryptography.Pkcs 9.0.0, all .NET denial-of-service or security-feature-bypass advisories in XML signature and PKCS processing. Dependabot security updates opened #160 (Pkcs) and #161 (Xml) to pin 9.0.21 directly in that csproj.

Both packages reach the repository through one path only, the test project's Microsoft.EntityFrameworkCore.Design reference (dotnet nuget why):

Microsoft.EntityFrameworkCore.Design 10.0.0
├── Microsoft.Build.Tasks.Core 17.14.28 → System.Security.Cryptography.Xml 9.0.0 → .Pkcs 9.0.0
└── Microsoft.CodeAnalysis.Workspaces.MSBuild 4.14.0 → (same)

That reference exists for MigrationScaffoldTests, which builds the design-time services in process. Scaffolding never signs or verifies XML and never parses PKCS data, so the vulnerable code is not reached. No shipping project references Design (ReleaseWiringConventionTests already confirms the packages have no PrivateAssets=all references), so consumers never receive either package.

This is the same situation as CaffeinatedCoder/EFCore.ComplexIndexes#52, with one difference: there the pins would have landed in a shipping csproj. Here they would land in a test project, so merging them would not hurt consumers. It would still add two direct references to toolchain internals that nobody maintains on purpose, and each new advisory would bring another one.

Proposed change

Activity

  1. added this to the 10.0.0 milestone on Oct 18, 2026
  2. added
    chore
    area/release
    on Oct 18, 2026
  3. CaffeinatedCoder commented on Oct 18, 2026

    @CaffeinatedCoder
    OwnerAuthor

    Done outside the diff: #160 and #161 closed unmerged with the reason, and alerts #1–#13 dismissed as not_used, linking here. No open Dependabot alerts or PRs remain. The dependabot.yml ignores are in #195.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/releasechore

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions