From 562342cd8ad4663ee38c19ca8f2806b1a7e52d76 Mon Sep 17 00:00:00 2001 From: Shaan Majid <70789625+shaanmajid@users.noreply.github.com> Date: Tue, 20 Oct 2026 10:28:45 -0700 Subject: [PATCH 1/2] Update webpki-root-certs and rustls-webpki to distrust compromised eMudhra intermediates Bump webpki-root-certs to 1.0.10 and rustls-webpki to 0.103.16, the patched releases for the eMudhra intermediate CA key compromise. webpki-root-certs 1.0.10 drops the AAA Certificate Services and emSign ECC Root CA - G3 roots that chain to the compromised intermediates. prek uses the bundled webpki roots by default (without PREK_NATIVE_TLS), so OS-level revocation does not apply. See https://emudhra.we-have-a-problem.com/ --- Cargo.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b1cb6e7c2..975c55508 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2480,9 +2480,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" -version = "0.103.15" +version = "0.103.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" dependencies = [ "aws-lc-rs", "ring", @@ -3518,9 +3518,9 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b" +checksum = "58ec80e73fd8baf57bf0d9615554c75348bda990d6d5bbeab964dd068319fecb" dependencies = [ "rustls-pki-types", ] From 8649db1ae97cc1f17b61997b71582774cae8859a Mon Sep 17 00:00:00 2001 From: Shaan Majid <70789625+shaanmajid@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:23:29 -0700 Subject: [PATCH 2/2] Update uv to 0.13.4 uv 0.13.4 is the patched release for the eMudhra intermediate CA key compromise (GHSA-hq85-5cpj-mr62). Bump the pinned version used for managed installs and CI, and the Docker build stage image. --- .github/workflows/ci.yml | 2 +- .github/workflows/publish-docs.yml | 2 +- .github/workflows/publish-npm.yml | 2 +- .github/workflows/sync-identify.yml | 2 +- Dockerfile | 2 +- crates/prek/src/languages/python/uv.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df4e290b6..510fd2346 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ permissions: {} env: # UV_VERSION should not greater than MAX_UV_VERSION in `languages/python/uv`. # Otherwise, tests jobs will install their own uv, and it will encounter concurrency issue. - UV_VERSION: "0.13.0" + UV_VERSION: "0.13.4" NODE_VERSION: "20" BUN_VERSION: "1.3" GO_VERSION: "1.24" diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 83a227a53..db3af14ab 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -21,7 +21,7 @@ permissions: {} env: ACTIONS_CACHE_MODE: none - UV_VERSION: "0.13.0" + UV_VERSION: "0.13.4" jobs: build: diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index b852e2810..4c7c7e752 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -9,7 +9,7 @@ on: env: ACTIONS_CACHE_MODE: none - UV_VERSION: "0.13.0" + UV_VERSION: "0.13.4" jobs: publish: diff --git a/.github/workflows/sync-identify.yml b/.github/workflows/sync-identify.yml index c60bae6ca..d26cfb153 100644 --- a/.github/workflows/sync-identify.yml +++ b/.github/workflows/sync-identify.yml @@ -7,7 +7,7 @@ on: permissions: {} env: - UV_VERSION: "0.13.0" + UV_VERSION: "0.13.4" jobs: sync: diff --git a/Dockerfile b/Dockerfile index 402d0b696..30e1afdc7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM docker.io/astral/uv:0.13.0@sha256:cdc6093146eb3ff6a40107b38f008b789e050e77ad87865e381d9917da55a168 AS uv +FROM --platform=$BUILDPLATFORM docker.io/astral/uv:0.13.4@sha256:9f130421e930bfbdc563c00740466603f8723158e90297d07957c2294640262b AS uv FROM --platform=$BUILDPLATFORM ubuntu:26.04@sha256:f144425ff09be612d6d9ad965196e9cdc23dae1f42110a8a11a3e9a8198759f7 AS build diff --git a/crates/prek/src/languages/python/uv.rs b/crates/prek/src/languages/python/uv.rs index c43fc66f8..adc359791 100644 --- a/crates/prek/src/languages/python/uv.rs +++ b/crates/prek/src/languages/python/uv.rs @@ -21,7 +21,7 @@ use crate::store::{CacheBucket, Store}; use crate::warn_user; // The version range of `uv` we will install. Should update periodically. -const CUR_UV_VERSION: &str = "0.13.0"; +const CUR_UV_VERSION: &str = "0.13.4"; static UV_VERSION_RANGE: LazyLock = LazyLock::new(|| VersionReq::parse(">=0.7.0").unwrap());