Skip to content

Commit 8de9973

Browse files
committed
sdk(rust): drop hickory-dns from reqwest features
The SDK inherited the workspace `reqwest` dep, which enables `hickory-dns` and pulls in `hickory-resolver 0.25.2` → `hickory-proto 0.25.2`. That chain is flagged by RUSTSEC-2026-0119 (O(n^2) name compression CPU-exhaustion in hickory-proto < 0.26.1), and there is no patched 0.25.x release. The SDK does not need a custom DNS resolver — its only HTTP traffic is to a local Unix socket / loopback. Pinning reqwest directly with the workspace's other features (rustls-tls, charset) and dropping `hickory-dns` keeps TLS/charset behavior identical and removes the vulnerable transitive entirely from downstream consumers. Other workspace members (gateway, kms, ...) continue to use `reqwest = { workspace = true }` and are unaffected. Refs: GHSA-q2qq-hmj6-3wpp
1 parent 20dc37e commit 8de9973

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bon.workspace = true
2121
hex = { workspace = true, features = ["std"] }
2222
http.workspace = true
2323
http-client-unix-domain-socket = "0.1.1"
24-
reqwest = { workspace = true, features = ["json"] }
24+
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "charset"] }
2525
serde.workspace = true
2626
serde_json.workspace = true
2727
sha2.workspace = true

0 commit comments

Comments
 (0)