Skip to content

fix(deps): bump rustls-webpki / tar / lru to clear RUSTSEC advisories#175

Merged
pszymkowiak merged 1 commit intodevelopfrom
fix/security-bumps
May 2, 2026
Merged

fix(deps): bump rustls-webpki / tar / lru to clear RUSTSEC advisories#175
pszymkowiak merged 1 commit intodevelopfrom
fix/security-bumps

Conversation

@pszymkowiak
Copy link
Copy Markdown
Contributor

Three quick-win security bumps grouped into one PR — found via `cargo audit` during the 0.10.43 post-release verification audit.

Cleared CVEs / advisories

Advisory Crate From → To Severity Source
RUSTSEC-2026-0049 rustls-webpki 0.103.9 → 0.103.13 transitive via ureq
RUSTSEC-2026-0098 rustls-webpki 0.103.9 → 0.103.13 transitive
RUSTSEC-2026-0099 rustls-webpki 0.103.9 → 0.103.13 transitive
RUSTSEC-2026-0104 rustls-webpki 0.103.9 → 0.103.13 transitive
RUSTSEC-2026-0067 tar 0.4.44 → 0.4.45 medium 5.1 direct (icm-cli)
RUSTSEC-2026-0068 tar 0.4.44 → 0.4.45 medium 5.1 direct (icm-cli)
RUSTSEC-2026-0002 lru 0.12 → 0.18 warning (unsound `IterMut`) direct (icm-store, added in #167)

Notes on lru bump

  • The advisory affects `lru` 0.12 through ~0.16. The first listed unaffected version is 0.18, so we bump straight there.
  • Our usage (`get` / `put` / `pop` / `clear` in `crates/icm-store/src/store.rs`) never touched the unsound `IterMut` path, so this is precautionary, not a fix for an exploitable bug. Still: clears the audit warning and removes the lint noise.
  • `lru 0.12.5` remains in the lockfile via `ratatui 0.29.0` — bumping ratatui is a bigger refactor and is out of scope for this PR. Our code (icm-store) is on 0.18 now.

Remaining warnings (out of scope)

`paste 1.0.15` (unmaintained, via fastembed/ratatui), `core2 0.4.0` (yanked, via flate2 chain), `number_prefix` (unmaintained, via indicatif). All transitive; addressing them requires upstream releases or upstream-dep version bumps that need their own PRs.

Test plan

  • `cargo audit` — no longer flags any direct dep of this workspace; only transitive warnings remain
  • `cargo build --workspace` clean
  • `cargo fmt --all -- --check` clean
  • `cargo clippy --workspace --all-targets -- -D warnings` clean
  • `cargo test --release --workspace` — full pass
  • CI debug-build run on this PR (the local `perf_fts_search_100` is parallelism-sensitive on debug — passes in release; same flakiness existed before this PR)

🤖 Generated with Claude Code

Three quick-win security bumps grouped into one PR — found via
`cargo audit` during the 0.10.43 verification audit.

## Cleared

- **RUSTSEC-2026-0049/0098/0099/0104** — rustls-webpki 0.103.9 → 0.103.13
  Pulled transitively via ureq/hf-hub/reqwest. Semver-compatible bump
  via `cargo update`, no Cargo.toml change.

- **RUSTSEC-2026-0067/0068** (medium 5.1) — tar 0.4.44 → 0.4.45
  Direct dep in icm-cli (release artifact packaging). Pinned to
  `tar = "0.4.45"` in workspace Cargo.toml to make the floor explicit.

- **RUSTSEC-2026-0002** (unsound IterMut) — lru 0.12 → 0.18
  Direct dep in icm-store added in #167 for the recall LRU cache.
  Bumped to 0.18 (the latest stable) since both 0.13 and 0.16 still
  carried the advisory; 0.18 is the first version listed as
  unaffected. Our usage is `get`/`put`/`pop`/`clear` — the unsound
  `IterMut` path was never on the hot path here, but the bump
  removes the lint regardless.

## Remaining warnings (out of scope, transitive)

- `lru 0.12.5` still pulled by `ratatui 0.29.0`. Bumping ratatui is
  bigger than this PR. Our usage is in icm-store, which now uses
  0.18.
- `paste 1.0.15` (unmaintained), `core2 0.4.0` (yanked) — both via
  fastembed/ratatui transitively. Same reasoning.

## Test plan

- [x] `cargo audit` no longer flags any direct dep
- [x] `cargo build --workspace` clean
- [x] `cargo fmt --all -- --check` clean
- [x] `cargo clippy --workspace --all-targets -- -D warnings` clean
- [x] `cargo test --release --workspace` 339+ passed
- The debug-build `perf_fts_search_100` test is parallelism-sensitive
  on local — passes in release mode and on CI defaults. Not a
  regression from this PR (same test was flaky before, baseline
  confirmed).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pszymkowiak pszymkowiak merged commit 764cf2c into develop May 2, 2026
7 checks passed
@pszymkowiak pszymkowiak deleted the fix/security-bumps branch May 2, 2026 19:46
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.

1 participant