Skip to content

ci: temporarily ignore SQLite advisory blocked by sqlx - #3660

Merged
CTTY merged 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu-ci-failures
Nov 10, 2026
Merged

CTTY merged 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu-ci-failures

Conversation

@kevinjqliu

@kevinjqliu kevinjqliu commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

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 --json passes with zero active vulnerabilities; git diff --check passes. 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.

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]>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 00:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 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

@kevinjqliu
kevinjqliu requested review from CTTY and blackmwk November 10, 2026 00:26
@kevinjqliu

Copy link
Copy Markdown
Contributor Author

another day, another security advisory 😭

@CTTY CTTY left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for fixing this!

@CTTY
CTTY enabled auto-merge November 10, 2026 00:31
@CTTY
CTTY added this pull request to the merge queue Nov 10, 2026
Merged via the queue into apache:main with commit e6bb84e Nov 10, 2026
26 checks passed
@kevinjqliu
kevinjqliu deleted the kevinjqliu-ci-failures branch November 10, 2026 05:17
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