Repository navigation
chore(release): 0.12.5 - #428
Merged
Merged
Conversation
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)
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)
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)
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)
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.
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 1
Please check the settings in the CodeRabbit UI or the
|
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.12.5: the dependency advisories published since 0.12.4, backported to
release/0.12(cut atv0.12.4). Each commit is a cherry-pick ofmain's commit, made with-x; the last commit sets the versions and the CHANGELOG.Backported
maincommitdeny.tomlignores RUSTSEC-2026-0543 (chrono unmaintained, no fixed version;rskafkarequires chrono)None of the advisories reaches 0.12. Each CHANGELOG statement saying so was checked on this branch's code and dependency tree, not taken from
main's:wasmtime-wasiis declared but nothing uses it, so it is not in the lockfile.get_module_export, hands a GC reference to a host function or configures a GC heap.gcandthreadsincluded.logdependency..bcaarchives are read with tar-rs only.Url::origin().With these,
cargo deny check advisoriespasses on this branch. Before them, it reported the 9 vulnerabilities and chrono.Notes
Cargo.lockchanges, and only in the packages named: the Wasmtime and Cranelift family, tar, rand 0.8, url and form_urlencoded, plus the nine workspace crates at 0.12.5.main's CHANGELOG hunks into 0.12's CHANGELOG and brought inmain's rc.2 entries. I dropped those hunks; the release commit writes the 0.12.5 section.fuzz/Cargo.lock. Onrelease/0.12it is stale: Wasmtime 43.0.2, and it fails--locked. 0.12.4 did not touch it. I left it alone, apart from the url pick, which applied to it cleanly. The fuzz crate is not shipped.--locked. No plugin lockfile pins any crate named above, except form_urlencoded 1.2.2 inrequest-transformer, which has no advisory.assert_cmdcannot findCARGO_BIN_EXE_barbacane, and the lifecycle tests look for the binary where cargo 1.99 puts it. Theintegration-testsjob now pins 1.99.1, the version 0.12.4's integration tests ran on. The other jobs stay on stable, which builds, lints and unit-tests 0.12 on 1.100, the compiler the release workflow uses.mainrewrote the harness's binary lookup during 1.0.0-rc.1.ubuntu-latestis Ubuntu 26.04, and Playwright 1.58.2 (0.12's UI) has no Chromium build for it. The UI E2E job runs onubuntu-24.04.After merging, tagging
v0.12.5onrelease/0.12starts the release workflow.Not in this release
GHSA-jcq4-h44p-58m5 (trust boundary), GHSA-5rhc-w38c-cx9p (time bounds) and GHSA-j9hp-jw55-g24h (unbounded memory) are rated medium. They list
<= 0.12.4as affected, and their only fix is 1.0.0-rc.1. The stability policy gives 0.12 security fixes until 1.0.0. Backporting them is a separate decision.