Skip to content

fix: suppress SQLitePCLRaw.lib.e_sqlite3 audit warning (GHSA-2m69-gcr7-jv3q) - #1424

Merged
aaronpowell merged 1 commit into
CommunityToolkit:mainfrom
tamirdresher:fix/sqlite-audit
Jun 23, 2026
Merged

aaronpowell merged 1 commit into
CommunityToolkit:mainfrom
tamirdresher:fix/sqlite-audit

Conversation

@tamirdresher

Copy link
Copy Markdown
Contributor

Summary

Adds a NuGetAuditSuppress entry for GHSA-2m69-gcr7-jv3q — a HIGH severity vulnerability in SQLitePCLRaw.lib.e_sqlite3.

Problem

All versions of SQLitePCLRaw.lib.e_sqlite3 (<= 2.1.11, which is the latest) depend on SQLite < 3.50.2, which has a memory corruption vulnerability. Since no patched NuGet package exists yet, the NU1903 audit warning fires on every restore for any project that transitively references SQLite.

Combined with TreatWarningsAsErrors=true in Directory.Build.props, this breaks CI builds for all SQLite-related projects (Hosting.Sqlite, tests, examples, etc.).

Fix

Added a NuGetAuditSuppress entry following the existing pattern (GHSA-4mjw-xr5x-prpc is already suppressed the same way). This is a temporary suppression that should be removed once upstream ships a patched SQLitePCLRaw version.

Impact

  • Only suppresses the audit warning — no code changes, no dependency changes
  • Unblocks CI for all branches/PRs that touch SQLite-related projects
  • Follows the repo's existing pattern for handling unpatched transitive vulnerabilities

…7-jv3q)

All versions of SQLitePCLRaw.lib.e_sqlite3 (<= 2.1.11) depend on SQLite < 3.50.2
which has a memory corruption vulnerability (HIGH severity). No patched NuGet
package exists yet.

This suppresses the NU1903 audit warning that breaks CI builds due to
TreatWarningsAsErrors=true. The suppression should be removed once a
patched SQLitePCLRaw version is published.
Copilot AI review requested due to automatic review settings June 23, 2026 05:00
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1424

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1424"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository-wide MSBuild configuration to suppress a specific NuGet vulnerability audit warning for SQLitePCLRaw.lib.e_sqlite3 (GHSA-2m69-gcr7-jv3q) while no patched upstream package is available, keeping CI unblocked given TreatWarningsAsErrors=true.

Changes:

  • Adds a NuGetAuditSuppress entry for advisory GHSA-2m69-gcr7-jv3q in Directory.Build.props.
  • Documents the suppression rationale inline (unpatched transitive SQLite vulnerability).

@aaronpowell
aaronpowell enabled auto-merge (squash) June 23, 2026 05:20
@aaronpowell
aaronpowell merged commit 7e021cf into CommunityToolkit:main Jun 23, 2026
139 of 143 checks passed
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.

3 participants