Skip to content

Transitive Dependency Vulnerability: System.Net.Security 4.3.0 (High Severity GHSA IDs) blocks .NET builds #139

Closed as not planned

Description

@joslat

Issue Description

Why reported here: This transitive dependency issue in Google.GenAI v0.6.0 was discovered while building Microsoft's official agent-framework repository, causing build failures due to TreatWarningsAsErrors=true.

See: https://github.com/microsoft/agent-framework/issues/2628​

Issue Type: 🔴 Security Vulnerability - High Severity (via NuGet audit)
Affected Package: Google.GenAI 0.6.0 (transitive dep: System.Net.Security 4.3.0)

Vulnerabilities:

GHSA-6xh7-4v2w-36q6 (High)
GHSA-qhqf-ghgh-x2m4 (High)
GHSA-ch6p-4jcm-h8vh (Moderate)
GHSA-j8f4-2w4p-mhjc (Moderate)​

Error during dotnet restore:
error NU1903: Package 'System.Net.Security' 4.3.0 has a known high severity vulnerability

Reproduction:

Clone https://github.com/microsoft/agent-framework
cd dotnet
dotnet restore (when targeting net8.0 and net9.0 frameworks)

Build fails on samples/GettingStarted/AgentProviders/Agent_With_GoogleGemini​
Impact: Blocks builds in security-conscious environments (.NET 10.0, central package management)

Request:

Please update dependencies to System.Net.Security >=4.3.2 or provide workaround pinning.

Activity

  1. self-assigned this
    on Dec 8, 2025
  2. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p3Desirable enhancement or fix. May not be included in next release.
    on Jan 7, 2026
  3. matthew29tang commented on Jun 8, 2026

    @matthew29tang
    Collaborator

    Trying to see if this is still an issue. Which package is pulling in a vulnerable transitive dependency version of System.Net.Security?

  4. github-actions commented on Jun 24, 2026

    @github-actions

    This issue has been marked as stale because it has been open for 7 days with no activity. It will be closed in 2 days if no further activity occurs.

  5. github-actions commented on Jun 27, 2026

    @github-actions

    This issue was closed because it has been inactive for 9 days. Please post a new issue if you need further assistance. Thanks!

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

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.status:awaiting user responsestatus:staletype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions