From fa473a65a2f0f0553c8b77924da134d40c821bb1 Mon Sep 17 00:00:00 2001 From: Cyril Poder Date: Thu, 26 Nov 2026 00:13:15 +0100 Subject: [PATCH] deps: url 2.5.9 for RUSTSEC-2026-0592; audit green again The scheduled audit has been red on master since 2026-11-24: url 2.5.8 overflows the stack in Url::origin() on nested blob: URLs. The runtime and the mq and amqp connectors move to url 2.5.9. connectors/amqp also carries url 1.7.2 through amq-protocol 1.4 and amiquip 0.4.2, the last amiquip release. That path only calls Url::parse on the broker URL the operator configures and never calls origin(), so the advisory is ignored there with that reason, next to the idna one that has the same origin. Co-Authored-By: Claude Opus 5.5 --- .cargo/audit.toml | 6 ++++++ CHANGELOG.md | 7 +++++++ connectors/amqp/Cargo.lock | 14 +++++++------- connectors/mq/Cargo.lock | 8 ++++---- core/Cargo.lock | 8 ++++---- 5 files changed, 28 insertions(+), 15 deletions(-) diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 0d6806a..3e8da36 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -9,4 +9,10 @@ ignore = [ # release), in connectors/amqp only, where it parses the broker URL the # operator configures, never untrusted input. Leaves with amiquip. "RUSTSEC-2024-0421", + # url 1.7.2 overflows the stack in Url::origin() on nested blob: URLs. Same + # path as above (amq-protocol 1.4 <- amiquip 0.4.2, connectors/amqp only): + # it only calls Url::parse on the operator's broker URL and never calls + # origin(). The runtime and the other connectors are on url 2.5.9, which + # fixes it. Leaves with amiquip. + "RUSTSEC-2026-0592", ] diff --git a/CHANGELOG.md b/CHANGELOG.md index d4aaa70..3b3038a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ is `0`, minor versions may carry breaking changes — they are called out here. ## [Unreleased] +### Security +- **url 2.5.8 → 2.5.9** in the runtime and in the `mq` and `amqp` connectors, for + RUSTSEC-2026-0592 (stack overflow in `Url::origin()` on nested `blob:` URLs). + The `amqp` connector still carries url 1.7.2 through amiquip, which only parses + the broker URL the operator configures and never calls `origin()`; that one is + ignored in `.cargo/audit.toml` with this reason, and leaves with amiquip. + ## [0.6.0] — 2026-11-07 If you reach a raw binary from another machine, set `VEJAS_HTTP_ADDR` before you diff --git a/connectors/amqp/Cargo.lock b/connectors/amqp/Cargo.lock index 624e4c2..d199c0f 100644 --- a/connectors/amqp/Cargo.lock +++ b/connectors/amqp/Cargo.lock @@ -29,7 +29,7 @@ dependencies = [ "mio-extras", "percent-encoding 2.3.2", "snafu", - "url 2.5.8", + "url 2.5.9", ] [[package]] @@ -99,7 +99,7 @@ dependencies = [ "tokio-util", "tracing", "tryhard", - "url 2.5.8", + "url 2.5.9", ] [[package]] @@ -153,7 +153,7 @@ dependencies = [ "semver", "serde", "toml", - "url 2.5.8", + "url 2.5.9", ] [[package]] @@ -269,9 +269,9 @@ checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding 2.3.2", ] @@ -1367,9 +1367,9 @@ dependencies = [ [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna 1.1.0", diff --git a/connectors/mq/Cargo.lock b/connectors/mq/Cargo.lock index 37001fb..1c589e2 100644 --- a/connectors/mq/Cargo.lock +++ b/connectors/mq/Cargo.lock @@ -145,9 +145,9 @@ checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] @@ -889,9 +889,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna", diff --git a/core/Cargo.lock b/core/Cargo.lock index d85c289..999766b 100644 --- a/core/Cargo.lock +++ b/core/Cargo.lock @@ -314,9 +314,9 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] @@ -1431,9 +1431,9 @@ dependencies = [ [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna",