Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 72 additions & 43 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/eggress-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ path = "src/pproxy_main.rs"
required-features = ["pproxy-compat"]

[dependencies]
eggup-archive = "=0.1.2"
eggup-core = "=0.1.2"
eggup-archive = "=0.2.2"
eggup-core = "=0.2.2"
eggress-admin.workspace = true
eggress-core.workspace = true
eggress-server.workspace = true
Expand Down Expand Up @@ -96,7 +96,7 @@ rustls.workspace = true
tar = { version = "0.4", default-features = false }
tokio-rustls.workspace = true
toml.workspace = true
zip = { version = "6", default-features = false, features = ["deflate-flate2"] }
zip = { version = "9", default-features = false, features = ["deflate-flate2"] }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/eggress-cli/src/update/eggup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ mod tests {
let mut bytes = Vec::new();
{
let mut zip = zip::ZipWriter::new(std::io::Cursor::new(&mut bytes));
let options: zip::write::FileOptions<'_, ()> = zip::write::FileOptions::default()
let options = zip::write::SimpleFileOptions::default()
.compression_method(zip::CompressionMethod::Stored);
for (name, data) in entries {
zip.start_file(*name, options).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion crates/eggress-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tokio = { workspace = true }
tracing-subscriber = { workspace = true }
serde_json = "1"
toml = "0.8"
url = "=2.5.4"
url = "=2.5.9"

[features]
default = []
Expand Down
43 changes: 6 additions & 37 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,44 +17,13 @@ all-features = true

[advisories]
ignore = [
# Upstream-blocked `zip 6.0.0` (Delivery M004 / Security S5).
# The seven `zip` entries tracked here through 2026-11-17 (RUSTSEC-2026-
# 0367, -0368, -0369, -0429, -0545, -0547, -0548) were deleted on
# 2026-11-28 under the removal condition they carried: `eggup-archive`
# now resolves to 0.2.2, which depends on `zip 9.9.0`. That is the fixed
# line for every one of those advisories, so no `zip` exception remains
# and none should be reintroduced.
#
# Path: root `eggress-cli` -> `eggup-archive 0.1.2` (and 0.2.0) ->
# `zip = "6.0.0"`. `eggup-archive` also carries the `zip` crate for its
# bounded Windows `.zip` extractor, so a lockfile update alone cannot
# remove it, and the direct `zip` dependency in `eggress-cli` is
# dev-only (test archive fixtures).
#
# Why the interim risk is acceptable: Eggup's extractor never calls
# `ZipArchive::extract`/`ZipStreamReader::extract` (the APIs named by
# these advisories). It walks entries itself, rejects symlinks, non-file
# entries, `enclosed_name() == None`, and `..`/absolute paths, and reads
# members through object-bound handles under finite size limits. Eggress
# additionally verifies the whole archive SHA-256 before extraction.
#
# Advisories published after the gate landed (2026-11-17) are covered by
# the same upstream block and are not reachable through Eggup's feature
# set: `eggup-archive` disables `zip` defaults and enables only
# `deflate-flate2`, so the `aes-crypto` path (-0545) is not compiled; it
# never uses `ZipStreamReader` (-0548); and the -0547 legacy decoders are
# outside the supported release-asset entry set, with the archive
# SHA-256-verified before extraction and members read under finite
# per-member/total limits.
#
# Removal condition: delete every `zip` entry here (do not carry them
# forward) as soon as an `eggup-archive` release depending on
# `zip >= 9.0.0` is adopted.
#
# Owner: Delivery M004. Reviewed 2026-11-16, extended 2026-11-17.
# Re-review by 2027-05-01 even if no upstream release has landed; do not
# renew silently.
"RUSTSEC-2026-0367",
"RUSTSEC-2026-0368",
"RUSTSEC-2026-0369",
"RUSTSEC-2026-0429",
"RUSTSEC-2026-0545",
"RUSTSEC-2026-0547",
"RUSTSEC-2026-0548",
# `chrono` is unmaintained (RUSTSEC-2026-0543), not a vulnerability. It is
# pulled unconditionally by `russh-util 0.52.0` -> `russh 0.65.2`, which
# is the latest published `russh` line and the fixed line for the SSH
Expand Down
Loading