Skip to content

Commit 434ab96

Browse files
fix: Address RUSTSEC-2026-0001 (#1994)
## Which issue does this PR close? - Closes #1992 - Closes #1993 ## What changes are included in this PR? Update dependency to upgrade rkyv, but we still have to ignore it and wait for rust_decimal to resolve it. ## Are these changes tested? CI.
1 parent 9844638 commit 434ab96

File tree

5 files changed

+146
-24
lines changed

5 files changed

+146
-24
lines changed

.cargo/audit.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ ignore = [
3333
#
3434
# Introduced by object_store, see https://github.com/apache/arrow-rs-object-store/issues/564
3535
"RUSTSEC-2025-0134",
36+
37+
# Tracked here: https://github.com/paupino/rust-decimal/issues/766
38+
"RUSTSEC-2026-0001",
3639
]

Cargo.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ rand = "0.8.5"
109109
regex = "1.11.3"
110110
reqwest = { version = "0.12.12", default-features = false, features = ["json"] }
111111
roaring = { version = "0.11" }
112-
rust_decimal = "1.37.2"
112+
rust_decimal = { version = "1.39", default-features = false, features = ["std"] }
113113
serde = { version = "1.0.219", features = ["rc"] }
114114
serde_bytes = "0.11.17"
115115
serde_derive = "1.0.219"
@@ -131,4 +131,4 @@ url = "2.5.7"
131131
uuid = { version = "1.18", features = ["v7"] }
132132
volo = "0.10.6"
133133
volo-thrift = "0.10.8"
134-
zstd = "0.13.3"
134+
zstd = "0.13.3"

bindings/python/Cargo.lock

Lines changed: 122 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/python/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,16 @@ pyo3 = { version = "0.26", features = ["extension-module", "abi3-py310"] }
3737
iceberg-datafusion = { path = "../../crates/integrations/datafusion" }
3838
datafusion-ffi = { version = "51.0" }
3939
tokio = { version = "1.46.1", default-features = false }
40+
# Security: disable rkyv feature to avoid RUSTSEC-2026-0001 (rkyv 0.7.45 vulnerability)
41+
rust_decimal = { version = "1.39", default-features = false, features = ["std"] }
4042

4143
[profile.release]
4244
codegen-units = 1
4345
debug = false
4446
lto = "thin"
4547
opt-level = "z"
4648
strip = true
49+
50+
[package.metadata.cargo-machete]
51+
# rust_decimal is included to override feature flags for security (disable rkyv)
52+
ignored = ["rust_decimal"]

0 commit comments

Comments
 (0)