Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(deps): upgrade zip and ammonia to clear cargo-deny advisories (#8253)

teo6e43baaa48a4
diff --git a/Cargo.lock b/Cargo.lock
index 29dd751d44..4a349a7e38 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1218,9 +1218,9 @@ checksum = "c880a97d28a3681c0267bd29cff89621202715b065127cd445fa0f0fe0aa2880"
[[package]]
name = "ammonia"
-version = "4.1.7"
+version = "4.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36322ccf536de7b7afd259098615203e4cc5caca1b78482b58334a720c66e40a"
+checksum = "2f6660fb4ff692ef4937b1b4e74ab3d378653d8588389587d91f96a296907ea0"
dependencies = [
"cssparser 0.37.0",
"html5ever 0.39.0",
@@ -3076,7 +3076,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "144e573728da132683b9488acd528274c790e07fc06ff81ee29f9d8f8b1041e0"
dependencies = [
"blowfish",
- "pbkdf2 0.13.0",
+ "pbkdf2",
"sha2 0.11.0",
]
@@ -3521,7 +3521,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49ecfb22d906f800d4fe833b6282cf4dc1c298f5057ca0b5445e5c209735ca47"
dependencies = [
"bzip2-sys",
- "libbz2-rs-sys",
+ "libbz2-rs-sys 0.1.3",
+]
+
+[[package]]
+name = "bzip2"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3a53fac24f34a81bc9954b5d6cfce0c21e18ec6959f44f56e8e90e4bb7c346c"
+dependencies = [
+ "libbz2-rs-sys 0.2.5",
]
[[package]]
@@ -4906,6 +4915,15 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
+[[package]]
+name = "constant_time_eq"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9eb6feb175df65d0a3ccd3e73484e940d0ac664e8034f0519fd49a93db3071d9"
+dependencies = [
+ "rustversion",
+]
+
[[package]]
name = "contacts"
version = "0.1.0"
@@ -5040,7 +5058,7 @@ dependencies = [
"utoipa",
"utoipa-swagger-ui",
"workspace-hack",
- "zip 2.4.2",
+ "zip 9.0.5",
]
[[package]]
@@ -6264,6 +6282,7 @@ dependencies = [
"const-oid 0.10.2",
"crypto-common 0.2.2",
"ctutils",
+ "zeroize",
]
[[package]]
@@ -6450,7 +6469,7 @@ dependencies = [
"bot_id",
"bots",
"bytes",
- "bzip2",
+ "bzip2 0.5.2",
"cal",
"calendar_events",
"call",
@@ -6597,7 +6616,7 @@ dependencies = [
"webhook",
"work_feed",
"workspace-hack",
- "zip 2.4.2",
+ "zip 9.0.5",
]
[[package]]
@@ -6821,7 +6840,7 @@ dependencies = [
"aws-sdk-sqs",
"aws-smithy-types",
"aws_lambda_events",
- "bzip2",
+ "bzip2 0.5.2",
"futures",
"lambda_client",
"lambda_runtime",
@@ -6847,7 +6866,7 @@ dependencies = [
"tracing",
"urlencoding",
"workspace-hack",
- "zip 2.4.2",
+ "zip 9.0.5",
]
[[package]]
@@ -9417,7 +9436,7 @@ dependencies = [
"axum",
"bot_id",
"chrono",
- "constant_time_eq",
+ "constant_time_eq 0.3.1",
"harness_id",
"harness_token",
"hex",
@@ -11278,6 +11297,12 @@ version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0864a00c8d019e36216b69c2c4ce50b83b7bd966add3cf5ba554ec44f8bebcf5"
+[[package]]
+name = "libbz2-rs-sys"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34b357333733e8260735ba5894eb928c02ecc69c78715f01a8019e7fa7f2db4c"
+
[[package]]
name = "libc"
version = "0.2.186"
@@ -11765,24 +11790,12 @@ dependencies = [
]
[[package]]
-name = "lzma-rs"
-version = "0.3.0"
+name = "lzma-rust2"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
+checksum = "7277c9742229dc25243236d578b6471a798c554512c6f6a04365ec2e87c2a3bb"
dependencies = [
- "byteorder",
- "crc",
-]
-
-[[package]]
-name = "lzma-sys"
-version = "0.1.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27"
-dependencies = [
- "cc",
- "libc",
- "pkg-config",
+ "sha2 0.11.0",
]
[[package]]
@@ -11820,7 +11833,7 @@ dependencies = [
"axum",
"bot_id",
"bot_token",
- "constant_time_eq",
+ "constant_time_eq 0.3.1",
"cookie",
"harness_id",
"harness_token",
@@ -13319,7 +13332,7 @@ dependencies = [
"tracing-subscriber",
"url",
"workspace-hack",
- "zip 2.4.2",
+ "zip 9.0.5",
]
[[package]]
@@ -14558,16 +14571,6 @@ dependencies = [
"serde",
]
-[[package]]
-name = "pbkdf2"
-version = "0.12.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
-dependencies = [
- "digest 0.10.7",
- "hmac 0.12.1",
-]
-
[[package]]
name = "pbkdf2"
version = "0.13.0"
@@ -14971,7 +14974,7 @@ dependencies = [
"aes-gcm 0.11.1",
"cbc",
"der 0.8.2",
- "pbkdf2 0.13.0",
+ "pbkdf2",
"rand_core 0.10.1",
"scrypt",
"sha2 0.11.0",
@@ -15573,7 +15576,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4"
dependencies = [
"bytes",
- "heck 0.5.0",
+ "heck 0.4.1",
"itertools 0.12.1",
"log",
"multimap",
@@ -16716,7 +16719,7 @@ dependencies = [
"p384 0.14.0",
"p521",
"pageant",
- "pbkdf2 0.13.0",
+ "pbkdf2",
"pkcs5",
"pkcs8 0.11.0",
"polyval 0.7.3",
@@ -17186,7 +17189,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d87af57419b594aa23fa95f09f0e06d80d84ba01c26148c43844cad6ff4485f0"
dependencies = [
"cfg-if",
- "pbkdf2 0.13.0",
+ "pbkdf2",
"salsa20",
"sha2 0.11.0",
]
@@ -20521,6 +20524,12 @@ version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
+[[package]]
+name = "typed-path"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e"
+
[[package]]
name = "typenum"
version = "1.20.0"
@@ -20753,7 +20762,7 @@ dependencies = [
"tracing",
"walkdir",
"workspace-hack",
- "zip 2.4.2",
+ "zip 9.0.5",
]
[[package]]
@@ -22146,6 +22155,7 @@ dependencies = [
name = "workspace-hack"
version = "0.1.0"
dependencies = [
+ "aes 0.9.3",
"aes-gcm 0.10.3",
"ahash",
"aho-corasick",
@@ -22166,12 +22176,11 @@ dependencies = [
"axum-extra",
"base64 0.22.1",
"bitflags 2.11.1",
+ "block-buffer 0.12.0",
"bstr",
"bytemuck",
"byteorder",
"bytes",
- "bzip2",
- "bzip2-sys",
"cc",
"chacha20",
"chrono",
@@ -22213,6 +22222,7 @@ dependencies = [
"hashbrown 0.16.1",
"hashbrown 0.17.1",
"hmac 0.12.1",
+ "hmac 0.13.0",
"hybrid-array",
"hyper 1.9.0",
"hyper-rustls",
@@ -22501,15 +22511,6 @@ version = "0.8.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3"
-[[package]]
-name = "xz2"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2"
-dependencies = [
- "lzma-sys",
-]
-
[[package]]
name = "y4m"
version = "0.8.0"
@@ -22643,46 +22644,43 @@ dependencies = [
[[package]]
name = "zip"
-version = "2.4.2"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fabe6324e908f85a1c52063ce7aa26b68dcb7eb6dbc83a2d148403c9bc3eba50"
+checksum = "12598812502ed0105f607f941c386f43d441e00148fce9dec3ca5ffb0bde9308"
dependencies = [
- "aes 0.8.4",
"arbitrary",
- "bzip2",
- "constant_time_eq",
"crc32fast",
- "crossbeam-utils",
- "deflate64",
- "displaydoc",
"flate2",
- "getrandom 0.3.4",
- "hmac 0.12.1",
"indexmap 2.14.0",
- "lzma-rs",
"memchr",
- "pbkdf2 0.12.2",
- "sha1 0.10.6",
- "thiserror 2.0.18",
- "time",
- "xz2",
- "zeroize",
"zopfli",
- "zstd",
]
[[package]]
name = "zip"
-version = "3.0.0"
+version = "9.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12598812502ed0105f607f941c386f43d441e00148fce9dec3ca5ffb0bde9308"
+checksum = "6e04976da629d3b04204ba8105b396a193af8ad2583b2c79bfb3ab8af580a11e"
dependencies = [
- "arbitrary",
+ "aes 0.9.3",
+ "bzip2 0.6.1",
+ "constant_time_eq 0.6.1",
"crc32fast",
+ "deflate64",
"flate2",
+ "getrandom 0.4.2",
+ "hmac 0.13.0",
"indexmap 2.14.0",
+ "lzma-rust2",
"memchr",
+ "nix 0.31.3",
+ "pbkdf2",
+ "sha1 0.11.0",
+ "time",
+ "typed-path",
+ "zeroize",
"zopfli",
+ "zstd",
]
[[package]]
@@ -22711,27 +22709,27 @@ dependencies = [
[[package]]
name = "zstd"
-version = "0.13.3"
+version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
+checksum = "db3ae9bf90af6e40197bef767eeefc46ad6397420fe873830bd85e5fbbfb3c70"
dependencies = [
"zstd-safe",
]
[[package]]
name = "zstd-safe"
-version = "7.2.4"
+version = "8.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
+checksum = "ded520f16b29e1a9b771c722221b2b0a0398c2316d9bb3c42b458a5414d7434b"
dependencies = [
"zstd-sys",
]
[[package]]
name = "zstd-sys"
-version = "2.0.16+zstd.1.5.7"
+version = "2.1.2+zstd.1.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748"
+checksum = "481ada9c543b2323cbb7bbdbb5249177fbf0188ed959ed2c15e4b22421c84ed3"
dependencies = [
"cc",
"pkg-config",
diff --git a/Cargo.toml b/Cargo.toml
index 86d3bd7a01..b5cf6c8d84 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -456,8 +456,17 @@ serde_urlencoded = "0.7.1"
strum_macros = "0.27.1"
unicode-segmentation = "1.9.0"
url = "2.5.0"
-zip = "=2.4.2"
-ammonia = "4.1.7"
+zip = { version = "9.0.5", default-features = false, features = [
+ "aes-crypto",
+ "bzip2",
+ "deflate",
+ "deflate64",
+ "lzma",
+ "time",
+ "xz",
+ "zstd",
+] }
+ammonia = "4.1.8"
html-escape = "0.2"
subtle = "2.6.1"
diff --git a/crates/workspace-hack/Cargo.toml b/crates/workspace-hack/Cargo.toml
index 9eadd4b9ac..a7a975014f 100644
--- a/crates/workspace-hack/Cargo.toml
+++ b/crates/workspace-hack/Cargo.toml
@@ -15,6 +15,7 @@ publish = false
### BEGIN HAKARI SECTION
[dependencies]
+aes = { version = "0.9", default-features = false, features = ["zeroize"] }
aes-gcm = { version = "0.10", features = ["zeroize"] }
ahash = { version = "0.8", features = ["serde"] }
aho-corasick = { version = "1" }
@@ -34,12 +35,11 @@ aws_lambda_events = { version = "0.16", default-features = false, features = ["e
axum = { version = "0.8", features = ["macros", "multipart", "ws"] }
axum-extra = { version = "0.10", features = ["cookie", "query", "typed-header"] }
base64 = { version = "0.22" }
+block-buffer = { version = "0.12", default-features = false, features = ["zeroize"] }
bstr = { version = "1" }
bytemuck = { version = "1", default-features = false, features = ["extern_crate_alloc"] }
byteorder = { version = "1" }
bytes = { version = "1", features = ["serde"] }
-bzip2 = { version = "0.5", features = ["libbz2-rs-sys"] }
-bzip2-sys = { version = "0.1", default-features = false, features = ["__disabled"] }
chacha20 = { version = "0.10", default-features = false, features = ["legacy", "rng", "zeroize"] }
chrono = { version = "0.4", features = ["serde"] }
cipher = { version = "0.5", default-features = false, features = ["block-padding", "rand_core", "stream-wrapper"] }
@@ -50,7 +50,7 @@ crypto-common-c65f7effa3be6d31 = { package = "crypto-common", version = "0.1", d
ctutils = { version = "0.4", default-features = false, features = ["subtle"] }
derive_more = { version = "2", features = ["add", "add_assign", "display", "from"] }
digest-93f6ce9d446188ac = { package = "digest", version = "0.10", features = ["mac", "oid", "std"] }
-digest-a6292c17cd707f01 = { package = "digest", version = "0.11", features = ["alloc", "mac", "oid", "rand_core"] }
+digest-a6292c17cd707f01 = { package = "digest", version = "0.11", features = ["alloc", "mac", "oid", "rand_core", "zeroize"] }
doppleganger = { version = "0.5", default-features = false, features = ["chrono", "uuid"] }
doppleganger-core = { version = "0.5", default-features = false, features = ["chrono", "uuid"] }
either = { version = "1", features = ["serde", "use_std"] }
@@ -69,12 +69,13 @@ futures-sink = { version = "0.3" }
futures-task = { version = "0.3" }
futures-util = { version = "0.3", features = ["channel", "io", "sink"] }
generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "zeroize"] }
-getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std", "wasm_js"] }
+getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std"] }
getrandom-9fbad63c4bcf4a8f = { package = "getrandom", version = "0.4", default-features = false, features = ["std", "sys_rng", "wasm_js"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw"] }
hashbrown-9067fe90e8c1f593 = { package = "hashbrown", version = "0.17" }
hashbrown-986da7b5efc2b80e = { package = "hashbrown", version = "0.16" }
-hmac = { version = "0.12", default-features = false, features = ["reset"] }
+hmac-594e8ee84c453af0 = { package = "hmac", version = "0.13", default-features = false, features = ["zeroize"] }
+hmac-5ef9efb8ec2df382 = { package = "hmac", version = "0.12", default-features = false, features = ["reset"] }
hybrid-array = { version = "0.4", default-features = false, features = ["alloc", "ctutils", "extra-sizes", "subtle", "zeroize"] }
hyper = { version = "1", features = ["full"] }
hyper-util = { version = "0.1", features = ["client-legacy", "client-proxy", "http1", "http2", "server", "service"] }
@@ -165,6 +166,7 @@ zerocopy = { version = "0.8", default-features = false, features = ["derive", "s
zeroize = { version = "1", features = ["derive"] }
[build-dependencies]
+aes = { version = "0.9", default-features = false, features = ["zeroize"] }
aes-gcm = { version = "0.10", features = ["zeroize"] }
ahash = { version = "0.8", features = ["serde"] }
aho-corasick = { version = "1" }
@@ -184,12 +186,11 @@ aws_lambda_events = { version = "0.16", default-features = false, features = ["e
axum = { version = "0.8", features = ["macros", "multipart", "ws"] }
axum-extra = { version = "0.10", features = ["cookie", "query", "typed-header"] }
base64 = { version = "0.22" }
+block-buffer = { version = "0.12", default-features = false, features = ["zeroize"] }
bstr = { version = "1" }
bytemuck = { version = "1", default-features = false, features = ["extern_crate_alloc"] }
byteorder = { version = "1" }
bytes = { version = "1", features = ["serde"] }
-bzip2 = { version = "0.5", features = ["libbz2-rs-sys"] }
-bzip2-sys = { version = "0.1", default-features = false, features = ["__disabled"] }
cc = { version = "1", default-features = false, features = ["parallel"] }
chacha20 = { version = "0.10", default-features = false, features = ["legacy", "rng", "zeroize"] }
chrono = { version = "0.4", features = ["serde"] }
@@ -202,7 +203,7 @@ ctutils = { version = "0.4", default-features = false, features = ["subtle"] }
derive_more = { version = "2", features = ["add", "add_assign", "display", "from"] }
derive_more-impl = { version = "2", features = ["add", "add_assign", "display", "from"] }
digest-93f6ce9d446188ac = { package = "digest", version = "0.10", features = ["mac", "oid", "std"] }
-digest-a6292c17cd707f01 = { package = "digest", version = "0.11", features = ["alloc", "mac", "oid", "rand_core"] }
+digest-a6292c17cd707f01 = { package = "digest", version = "0.11", features = ["alloc", "mac", "oid", "rand_core", "zeroize"] }
doppleganger = { version = "0.5", default-features = false, features = ["chrono", "uuid"] }
doppleganger-core = { version = "0.5", default-features = false, features = ["chrono", "uuid"] }
either = { version = "1", features = ["serde", "use_std"] }
@@ -221,12 +222,13 @@ futures-sink = { version = "0.3" }
futures-task = { version = "0.3" }
futures-util = { version = "0.3", features = ["channel", "io", "sink"] }
generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "zeroize"] }
-getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std", "wasm_js"] }
+getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std"] }
getrandom-9fbad63c4bcf4a8f = { package = "getrandom", version = "0.4", default-features = false, features = ["std", "sys_rng", "wasm_js"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw"] }
hashbrown-9067fe90e8c1f593 = { package = "hashbrown", version = "0.17" }
hashbrown-986da7b5efc2b80e = { package = "hashbrown", version = "0.16" }
-hmac = { version = "0.12", default-features = false, features = ["reset"] }
+hmac-594e8ee84c453af0 = { package = "hmac", version = "0.13", default-features = false, features = ["zeroize"] }
+hmac-5ef9efb8ec2df382 = { package = "hmac", version = "0.12", default-features = false, features = ["reset"] }
hybrid-array = { version = "0.4", default-features = false, features = ["alloc", "ctutils", "extra-sizes", "subtle", "zeroize"] }
hyper = { version = "1", features = ["full"] }
hyper-util = { version = "0.1", features = ["client-legacy", "client-proxy", "http1", "http2", "server", "service"] }
@@ -378,7 +380,7 @@ hyper-rustls = { version = "0.27", default-features = false, features = ["aws-lc
hyper-util = { version = "0.1", default-features = false, features = ["client-proxy-system"] }
ipnet = { version = "2", features = ["serde"] }
mio = { version = "1", features = ["net", "os-ext"] }
-nix = { version = "0.31", features = ["feature", "mman"] }
+nix = { version = "0.31", features = ["feature", "fs", "mman"] }
objc2 = { version = "0.6" }
objc2-foundation = { version = "0.3" }
once_cell = { version = "1", default-features = false, features = ["critical-section"] }
@@ -401,7 +403,7 @@ hyper-rustls = { version = "0.27", default-features = false, features = ["aws-lc
hyper-util = { version = "0.1", default-features = false, features = ["client-proxy-system"] }
ipnet = { version = "2", features = ["serde"] }
mio = { version = "1", features = ["net", "os-ext"] }
-nix = { version = "0.31", features = ["feature", "mman"] }
+nix = { version = "0.31", features = ["feature", "fs", "mman"] }
objc2 = { version = "0.6" }
objc2-foundation = { version = "0.3" }
once_cell = { version = "1", default-features = false, features = ["critical-section"] }
diff --git a/deny.toml b/deny.toml
index 1e818bcbc6..266eb580d6 100644
--- a/deny.toml
+++ b/deny.toml
@@ -91,6 +91,11 @@ ignore = [
{ id = "RUSTSEC-2026-0258", reason = "h2 0.3 (via Stripe 0.41's hyper-0.14 client) has no patched release; the hyper 1.x line is bumped to the patched 0.4.16" },
{ id = "RUSTSEC-2026-0346", reason = "Temporarily accepted for rustls 0.21 pinned by Stripe 0.41; other consumers use patched rustls 0.23.46" },
{ id = "RUSTSEC-2026-0349", reason = "Temporarily accepted for rustls 0.21 pinned by Stripe 0.41; other consumers use patched rustls 0.23.46" },
+ # zip 3.0.0 remains only as a utoipa-swagger-ui 9 build-dependency; workspace crates use patched zip 9.
+ # Revisit: drop these when a released utoipa-swagger-ui depends on zip >= 9 (juhaku/utoipa#1645).
+ { id = "RUSTSEC-2026-0367", reason = "zip 3.0.0 is a utoipa-swagger-ui build-dependency that reads its vendored Swagger UI archive entry by entry and never calls extract(); no release uses patched zip >= 9" },
+ { id = "RUSTSEC-2026-0368", reason = "zip 3.0.0 is a utoipa-swagger-ui build-dependency that reads its vendored Swagger UI archive entry by entry and never calls extract(); no release uses patched zip >= 9" },
+ { id = "RUSTSEC-2026-0369", reason = "zip 3.0.0 is a utoipa-swagger-ui build-dependency that reads its vendored Swagger UI archive entry by entry and never calls extract(); no release uses patched zip >= 9" },
#{ id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
#"[email protected]", # you can also ignore yanked crate versions if you wish
#{ crate = "[email protected]", reason = "you can specify why you are ignoring the yanked crate" },
diff --git a/services/convert_service/src/process/test.rs b/services/convert_service/src/process/test.rs
index 4d8cff3f9d..509117c051 100644
--- a/services/convert_service/src/process/test.rs
+++ b/services/convert_service/src/process/test.rs
@@ -97,7 +97,10 @@ mod legacy_upgrade {
fn zip_names(bytes: &[u8]) -> Vec<String> {
let archive = zip::ZipArchive::new(std::io::Cursor::new(bytes)).unwrap();
- archive.file_names().map(str::to_string).collect()
+ archive
+ .file_names()
+ .map(|name| name.unwrap().into_owned())
+ .collect()
}
fn assert_main_content_type(bytes: &[u8], content_type: &str) {
diff --git a/services/docx_unzip_handler/src/service/document/unzip.rs b/services/docx_unzip_handler/src/service/document/unzip.rs
index c33b3543f4..dac7b926ff 100644
--- a/services/docx_unzip_handler/src/service/document/unzip.rs
+++ b/services/docx_unzip_handler/src/service/document/unzip.rs
@@ -30,7 +30,7 @@ pub fn unzip(document_content: Vec<u8>) -> Result<Vec<DocumentBomPart>, anyhow::
document_bom_parts.push(DocumentBomPart {
sha: sha_hash,
- path: file.name().to_string(),
+ path: file.name()?.into_owned(),
content: file_contents,
});
}