Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Update rustls dependency in `Cargo.lock` (#14339)

Alex Crichtonf543666f4c59
diff --git a/Cargo.lock b/Cargo.lock
index b11f7b9689..6ecdf51eff 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3316,9 +3316,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.37"
+version = "0.23.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4"
+checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634"
dependencies = [
"log",
"once_cell",
@@ -3340,9 +3340,9 @@ dependencies = [
[[package]]
name = "rustls-webpki"
-version = "0.103.13"
+version = "0.103.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
+checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2"
dependencies = [
"ring",
"rustls-pki-types",
diff --git a/Cargo.toml b/Cargo.toml
index 43e1ec5f1e..38a5e11f8b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -449,7 +449,7 @@ semver = { version = "1.0.27", default-features = false }
ittapi = "0.4.0"
libm = "0.2.16"
tokio-rustls = { version = "0.26.4", default-features = false, features = ["ring", "tls12", "logging"] }
-rustls = { version = "0.23", default-features = false, features = ["ring", "tls12", "logging"] }
+rustls = { version = "0.23.45", default-features = false, features = ["ring", "tls12", "logging"] }
tokio-native-tls = "0.3.1"
native-tls = "0.2.11"
tokio-openssl = "0.6.5"
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
index 833114189c..e654324ab1 100644
--- a/supply-chain/audits.toml
+++ b/supply-chain/audits.toml
@@ -4610,6 +4610,16 @@ criteria = "safe-to-deploy"
delta = "0.22.4 -> 0.23.7"
notes = "No new unsafe code."
+[[audits.rustls]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.23.37 -> 0.23.45"
+notes = """
+A relatively large update, but no new `unsafe` and nothing awry here. Lots of
+protocol/etc updates which I'm not personally an expert within but the rustls
+maintainers are relatively well trusted as well.
+"""
+
[[audits.rustls-pki-types]]
who = "Chris Fallin <[email protected]>"
criteria = "safe-to-deploy"
@@ -4637,6 +4647,12 @@ criteria = "safe-to-deploy"
delta = "0.103.12 -> 0.103.13"
notes = "Minor fixes for the bug being fixed in this release, nothing awry."
+[[audits.rustls-webpki]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.103.13 -> 0.103.15"
+notes = "Minor updates and feature shufflings."
+
[[audits.safetensors]]
who = "Andrew Brown <[email protected]>"
criteria = "safe-to-deploy"