Skip to content

Commit 5a355cf

Browse files
authored
fix security audit (#344)
* fix(deps): bump rustls-webpki to 0.103.13 for RUSTSEC-2026-0104 * chore(audit): ignore RUSTSEC-2026-0104 on legacy rustls 0.21 chain * chore(deps): disable rustls default feature on aws-sdk-{s3,dynamodb}
1 parent 75ae5bc commit 5a355cf

5 files changed

Lines changed: 13 additions & 21 deletions

File tree

.cargo/audit.toml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
# Ignored advisories for rustls-webpki name constraint bugs.
2-
#
3-
# Both are low-severity: exploitable only after signature verification
4-
# passes, and require certificate misissuance. The vulnerable crate
5-
# (rustls-webpki 0.101.7) is pulled in transitively by
6-
# aws-sdk-s3-transfer-manager and s3s-aws, which unconditionally enable
7-
# the legacy rustls feature on aws-sdk-s3. We cannot remove it without
8-
# upstream changes.
9-
#
10-
# Upstream issues:
11-
# https://github.com/awslabs/aws-s3-transfer-manager-rs/issues/138
12-
# https://github.com/s3s-project/s3s/issues/571
13-
#
14-
# Remove these ignores once the upstream crates stop pulling in the
15-
# legacy rustls 0.21 dependency chain.
1+
# Advisories against rustls-webpki 0.101.7, pulled in transitively by
2+
# aws-sdk-s3-transfer-manager and s3s-aws (legacy rustls 0.21 chain).
3+
# No patch exists in 0.101.x; not reachable in our usage (TLS client
4+
# only, no CRL parsing). Remove once the upstream fixes below ship:
5+
# aws-s3-transfer-manager-rs: PR #141
6+
# s3s: merged to main, awaiting s3s-aws 0.14 release
167

178
[advisories]
189
ignore = [
1910
"RUSTSEC-2026-0098", # rustls-webpki: URI name constraints incorrectly accepted
2011
"RUSTSEC-2026-0099", # rustls-webpki: name constraints accepted for wildcard certs
12+
"RUSTSEC-2026-0104", # rustls-webpki: reachable panic in CRL parsing (we do not parse CRLs)
2113
]

Cargo.lock

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

dial9-tokio-telemetry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
6868
s3s = "0.13.0"
6969
s3s-fs = "0.13.0"
7070
s3s-aws = "0.13.0"
71-
aws-sdk-s3 = "1"
71+
aws-sdk-s3 = { version = "1", default-features = false, features = ["behavior-version-latest", "default-https-client", "http-1x", "rt-tokio", "sigv4a"] }
7272
aws-config = { version = "1", features = ["behavior-version-latest"] }
7373
async-trait = "0.1.89"
7474
uuid = { version = "1", features = ["v4"] }

dial9-viewer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tower-http = { version = "0.6", features = ["fs"] }
3838
tracing = "0.1"
3939
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
4040
aws-config = { version = "1", features = ["behavior-version-latest"] }
41-
aws-sdk-s3 = { version = "1", features = ["behavior-version-latest"] }
41+
aws-sdk-s3 = { version = "1", default-features = false, features = ["behavior-version-latest", "default-https-client", "http-1x", "rt-tokio", "sigv4a"] }
4242
anyhow = "1"
4343
s3s = { version = "0.13.0", optional = true }
4444
s3s-fs = { version = "0.13.0", optional = true }

examples/metrics-service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ futures-util = "0.3"
1717
tracing = "0.1"
1818
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
1919
aws-config = "1"
20-
aws-sdk-dynamodb = "1"
20+
aws-sdk-dynamodb = { version = "1", default-features = false, features = ["behavior-version-latest", "default-https-client", "rt-tokio"] }
2121
serde = { version = "1", features = ["derive"] }
2222
serde_json = "1"
2323
dial9-tokio-telemetry = { path = "../../dial9-tokio-telemetry", features = ["worker-s3", "tracing-layer"] }

0 commit comments

Comments
 (0)