Repository navigation
ci: temporarily ignore SQLite advisory blocked by sqlx - #3660
Merged
Merged
Conversation
Document the dev-only SQLite usage and remove the exception once sqlx supports a patched libsqlite3-sys release. Co-authored-by: Copilot App <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the temporary SQLite advisory exception.
No open issues 🎉
What changed in this PR
Temporarily ignores SQLite advisory RUSTSEC-2026-0459 to unblock security audits while SQLx dependency constraints prevent upgrading to a patched version. This exception does not patch SQLite.
Changes:
- Adds the advisory to the cargo-audit ignore list.
- Documents the dev-only usage rationale and the condition for removing the exception.
| File | Description |
|---|---|
.cargo/audit.toml |
Adds the temporary SQLite advisory exception with its rationale and removal criteria. |
Review effort: Balanced
Contributor
Author
|
another day, another security advisory 😭 |
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.
Which issue does this PR close?
No issue is open. Security audit is failing on RUSTSEC-2026-0459.
What changes are included in this PR?
Ignore RUSTSEC-2026-0459 for
libsqlite3-sys 0.30.1. It requires opening an attacker-controlled SQLite database and WAL file. SQLite is enabled only by dev-dependencies in this workspace, and tests create their own databases.The patched version is
libsqlite3-sys >= 0.39.0, but SQLx 0.8.6 and 0.9.0 both exclude it. Remove the ignore once SQLx supports a patched version and the lockfile uses it.Are these changes tested?
Config-only.
cargo audit --jsonpasses with zero active vulnerabilities;git diff --checkpasses. Rust tests were not run.AI Disclosure
Prepared with Copilot (GPT-6.1 Sol) for advisory triage and configuration. Reviewer focus: the dev-only SQLite usage and absence of attacker-controlled database files in tests.