Repository navigation
Commit 1a9abe8
fix(echidnabot): move the pin to the upstream sqlx repair (RUSTSEC-2026-0459) (#661)
## Summary
The copy of echidnabot in `bots/echidnabot/` has `libsqlite3-sys`
0.30.1. That crate version carries the SQLite source that
RUSTSEC-2026-0459 (CVE-2026-119375) names. The patched crate is 0.39.0
or later.
hyperpolymath/echidnabot#199 repaired the dependency upstream (merged,
`e498948`). This pull request moves the pin, so that the copy that the
fleet builds has the patched crate.
No check of this repository is red because of the old crate: CI here
does not audit the dependencies of the copy. The reason for this change
is the build, not a check.
## Changes
`scripts/sync-vendored-bot.sh echidnabot --sync --rev e498948...` moves
the pin from `a045184` to `e498948`, the head of upstream `main`. 3
files change in the copy, plus the lock:
- `Cargo.toml`: sqlx comes from the upstream commit
`10462fa4414c6c7f1ed1d39bb31678e3b726878c`, pinned by its full hash. No
crates.io release of sqlx permits the patched crate (0.8.6 holds 0.30;
0.9.0 stops below 0.38). A comment on the line gives the reason and the
exit: go back to a crates.io version at the first sqlx release after
0.9.0.
- `Cargo.lock`: `libsqlite3-sys` 0.39.1. The crates that sqlx 0.8 needed
and sqlx 0.9 does not need go out, `rsa` among them.
- `.cargo/audit.toml`: the ignore entry for RUSTSEC-2023-0071 (`rsa`)
goes out, because `rsa` is not in `Cargo.lock` any more. The list is
empty.
- `FLEET-SYNC.json`: the new `rev`.
No Rust source file changes. `bots/gsbot` already takes sqlx from a
commit of the same repository, so the form is not new here.
## Testing
- `bash scripts/sync-vendored-bot.sh echidnabot --check`:
`bots/echidnabot matches ...@e498948... (90 entries)`, exit 0.
- A local copy of the Rust rule of the secret scan and of the strict
UUID rule, on the whole tree: 0 hits in 270 Rust files.
- Upstream, at the same `Cargo.toml` and `Cargo.lock`: `cargo audit`
reports 0 vulnerabilities, and `Dependency audit` passes on echidnabot
`main` at `e498948` (run 42880412002). The echidnabot test suite passed
there with sqlx 0.9.
- Not run locally: the fleet build and tests of the copy (`echidnabot
vendored build and tests`). This is their first run with sqlx 0.9 in
this repository. The fleet tests in `tests/echidnabot/` do not name
sqlx.
## Not verified
- The PostgreSQL path at run time. The upstream tests use SQLite. The
PostgreSQL code compiles.
- The behaviour changes of sqlx 0.9 that the compiler does not show (the
sqlx changelog for 0.9.0 lists them).
- The container build.
---
_Generated by [Claude
Code](https://claude.ai/code/session_0136P7ZmiFSCoB3UR9Kk56rK)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 763b286 commit 1a9abe8
4 files changed
Lines changed: 112 additions & 357 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments