Skip to content

Fix Dependabot alerts: remove unused testcontainers, bump serde_with - #2607

Merged
glimberg merged 1 commit into
devfrom
dependabot-fixes
Jul 22, 2026
Merged

Fix Dependabot alerts: remove unused testcontainers, bump serde_with#2607
glimberg merged 1 commit into
devfrom
dependabot-fixes

Conversation

@glimberg

Copy link
Copy Markdown
Contributor

Resolves both open Dependabot alerts, which live in rustybits/Cargo.lock:

Alert #67 (high) — tokio-tar 0.3.1, CVE-2025-62518

tokio-tar has no patched version (the fix only exists in the astral-tokio-tar fork). It was pulled in solely by the testcontainers dev-dependency, which has been unused since the rust-based pubsub removal (0f63783) — nothing in rustybits/src references it. This PR removes the orphaned [dev-dependencies] section, dropping tokio-tar and the whole bollard/docker graph (~50 crates) from the lockfile.

Alert #68 (medium) — serde_with 3.20.0

Bumped to 3.21.0 (cargo update serde_with), which fixes the KeyValueMap serialization panic. Still required via openidconnect.

Verification

  • cargo tree -i tokio-tar → package no longer in graph
  • cargo tree -i serde_with → 3.21.0, only via openidconnect
  • cargo check compiles clean after forcing a rebuild of the updated chain

Both alerts track the default branch, so they'll auto-resolve when this merges to dev.

- Remove testcontainers/testcontainers-modules dev-dependencies, orphaned
  since the rust-based pubsub removal (0f63783). This drops tokio-tar
  0.3.1 (CVE-2025-62518, PAX header desynchronization) and the rest of
  the bollard/docker graph from the lockfile. Resolves alert #67.
- Update serde_with 3.20.0 -> 3.21.0 (KeyValueMap serialization panic
  on empty sequence/map entries). Resolves alert #68.
@glimberg
glimberg merged commit 899352e into dev Jul 22, 2026
15 checks passed
@glimberg
glimberg deleted the dependabot-fixes branch July 22, 2026 19:25
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.

2 participants