Skip to content

Commit ff4dfd6

Browse files
committed
chore: ignore RUSTSEC-2025-0140 gix-date vulnerability
The gix-date 0.11.0 vulnerability (TimeBuf::as_str can create non-UTF8 strings) is introduced via tame-index 0.25.0 which pins gix 0.75.0. Cannot update gix directly as it would conflict with tame-index's gix dependency. Ignoring until tame-index releases an update with gix 0.77+.
1 parent 5feb915 commit ff4dfd6

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

deny.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ all-features = true
1313
[advisories]
1414
unmaintained = "workspace"
1515
ignore = [
16+
# gix-date 0.11.0 vulnerability via tame-index 0.25.0 -> gix 0.75.0
17+
# Waiting for tame-index to update to gix 0.77+
18+
{ id = "RUSTSEC-2025-0140", reason = "tame-index 0.25.0 pins gix 0.75.0; no updated version available yet" },
1619
]
1720

1821
[bans]

src/cargo-deny/check.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,7 @@ fn print_diagnostics(
548548
use cargo_deny::diag::Check;
549549

550550
if log_ctx.format == crate::Format::Sarif {
551-
let workspace_root = krates
552-
.map(|k| k.workspace_root().as_str())
553-
.unwrap_or("");
551+
let workspace_root = krates.map_or("", |k| k.workspace_root().as_str());
554552
let mut sc = cargo_deny::sarif::SarifCollector::new(workspace_root);
555553

556554
for pack in rx {

0 commit comments

Comments
 (0)