Skip to content

chore(deps): tar 0.4.46 and rand 0.8.6 - #410

Merged
ndreno merged 1 commit into
mainfrom
chore/deps-tar-rand
Nov 18, 2026
Merged

ndreno merged 1 commit into
mainfrom
chore/deps-tar-rand

Conversation

@ndreno

@ndreno ndreno commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Two advisories that cargo deny cannot report, because neither has a RustSec id. Grype found them in the static-image prototype (#404), through the crate list that cargo auditable embeds in each binary.

crate from to advisory severity
tar 0.4.45 0.4.46 GHSA-3pv8-6f4r-ffg2 medium
rand 0.8.5 0.8.6 GHSA-cq8v-f236-94qc low
  • tar: 0.4.45 applies a PAX header to the next extension header instead of the file entry, so a crafted archive lists different members under tar-rs than under other readers. Barbacane opens a .bca only with tar-rs, so its own readers agree; a review of the archive with another tool could miss a member.
  • rand: unsound only with rand's log feature and a custom logger that draws from thread_rng. rand 0.8 comes in through async-nats, rskafka and sqlx, without log.

Only these two packages change in Cargo.lock, with the same dependency lists as before. cargo metadata --locked accepts the lock, and the compiler's unit tests pass locally.

GHSA-3pv8-6f4r-ffg2 (tar, medium) and GHSA-cq8v-f236-94qc (rand, low).
Neither has a RustSec id, so cargo deny never reported them; Grype found
them in the static-image prototype (#404) through the crate list that
`cargo auditable` embeds.

Only the two packages change in Cargo.lock: a plain `cargo update -p`
also re-resolved Windows-only windows-sys entries, which are left as
they are on main.
@ndreno ndreno added this to the v1.0.0 milestone Nov 18, 2026
@ndreno
ndreno merged commit 998fac2 into main Nov 18, 2026
25 checks passed
ndreno added a commit that referenced this pull request Nov 23, 2026
* ci(deny): ignore RUSTSEC-2026-0543 (chrono unmaintained)

The advisory, published 2026-11-17, marks every chrono version as
unmaintained; it reports no vulnerability. rskafka 0.6 requires chrono
whatever the workspace uses, so no change here removes it. The audit job
failed on every pull request. #400 moves the workspace's own uses to
`time`.

(cherry picked from commit 8fe1641)

* fix(deps): Wasmtime 48.0.9 (RUSTSEC-2026-0566 to -0573)

Eight Wasmtime advisories published on 2026-11-18, fixed in 48.0.9,
fail cargo deny on every pull request. None reaches the gateway; the
CHANGELOG says why for each.

Only the 28 Wasmtime, Cranelift and Pulley packages change in both
locks: `cargo update -p wasmtime` also re-resolved Windows-only
windows-sys entries, which stay as they are on main. cargo deny's
advisories check passes and barbacane-wasm's 283 unit tests pass.

(cherry picked from commit 695cce3)

* chore(deps): tar 0.4.46 and rand 0.8.6 (#410)

GHSA-3pv8-6f4r-ffg2 (tar, medium) and GHSA-cq8v-f236-94qc (rand, low).
Neither has a RustSec id, so cargo deny never reported them; Grype found
them in the static-image prototype (#404) through the crate list that
`cargo auditable` embeds.

Only the two packages change in Cargo.lock: a plain `cargo update -p`
also re-resolved Windows-only windows-sys entries, which are left as
they are on main.

(cherry picked from commit 998fac2)

* fix(deps): url 2.5.9 for RUSTSEC-2026-0592

RUSTSEC-2026-0592: `Url::origin()` recurses into a `blob:` URL's inner
URL without a bound, so a deeply nested `blob:blob:...` URL overflows the
stack. Fixed in url 2.5.9; form_urlencoded moves to 1.2.3 with it.

Barbacane does not reach it: neither its code nor any crate that depends
on url in its tree (reqwest, sqlx, async-nats, ldap3, wiremock) calls
`Url::origin()`. The bump clears the advisory gate (cargo deny), which
fails every build from today. The plugins do not depend on url.

Workspace and fuzz lockfiles; both resolve with --locked, and
`cargo deny check advisories` passes.

(cherry picked from commit 31a933c)

* chore(release): 0.12.5

Versions 0.12.5, and the 0.12.5 CHANGELOG section for the dependency
updates backported from main: Wasmtime 48.0.9 (RUSTSEC-2026-0566 to
-0573), tar 0.4.46 and rand 0.8.6 (GHSA-3pv8-6f4r-ffg2,
GHSA-cq8v-f236-94qc) and url 2.5.9 (RUSTSEC-2026-0592).

Each "does not reach" statement in the CHANGELOG was checked on 0.12's
code and tree, not taken from main's: no wasmtime-wasi in the lockfile,
no component loading, `get_module_export` or GC reference in a host
function, default Wasmtime features (gc, threads), rand 0.8 without
`log`, `.bca` read with tar-rs only, and no `Url::origin()` call in the
code or in the seven crates that depend on url.

* ci: run the 0.12 integration tests on Rust 1.99.1

On Rust 1.100 (stable since 2026-11-09) the integration tests on
release/0.12 fail before running anything: `assert_cmd` cannot find
`CARGO_BIN_EXE_barbacane`, and the lifecycle tests look for the gateway
binary under target/debug/build/barbacane-test/<hash>/. Cargo 1.100
puts build output elsewhere; 0.12.4's integration tests ran on 1.99.1.

The integration-tests job pins 1.99.1. The other jobs stay on stable,
which builds, lints and unit-tests 0.12 on 1.100, the compiler the
release workflow builds with. main rewrote the harness's binary lookup
during 1.0.0-rc.1 and pins its toolchain.

* ci: UI end-to-end tests on Ubuntu 24.04; release builds pin cross

ubuntu-latest is Ubuntu 26.04, for which Playwright 1.58.2 (0.12's UI)
has no Chromium build: the UI E2E job failed with "Playwright does not
support chromium on ubuntu26.04-x64". It runs on ubuntu-24.04.

The release workflow installed cross from the head of its repository.
It now installs a9301e91, the commit v0.12.4's release used (and the
head today), so 0.12.5 builds its aarch64 and musl binaries with the
same cross as 0.12.4. The release jobs already ran on Ubuntu 26.04 for
v0.12.4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant