Skip to content

build(deps): bump webpki-roots and webpki-root-certs to 1.0.11 - #48301

Merged
yuneng-berri merged 1 commit into
mainfrom
rust-lock-1025
Oct 26, 2026
Merged

yuneng-berri merged 1 commit into
mainfrom
rust-lock-1025

Conversation

@yuneng-berri

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • The Rust binaries have emSign Root CA - C1 and emSign ECC Root CA - C3 built in
  • They come from webpki-roots 1.0.10, which our HTTP client trusts by default

How it solves it:

  • Bump webpki-roots and webpki-root-certs to 1.0.11 in litellm-rust/Cargo.lock
  • 1.0.11 only removes C1 and C3, nothing else changes

User Flow

Before: an operator scanning a Rust binary for emSign roots still finds C1 and C3

  1. They pull an image that ships a litellm Rust binary
  2. They scan the binary's built-in roots for emSign certificates
  3. emSign Root CA - C1, emSign ECC Root CA - C3 and emSign Root CA - G1 are there

After: the same scan finds only emSign Root CA - G1, matching the system CA bundle on the new wolfi-base

  1. They pull the image built from this branch
  2. They scan the binary's built-in roots for emSign certificates
  3. Only emSign Root CA - G1 is left

Relevant issues

Same change as #48300 on stable/1.106.x

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • The handful of test files covering my change pass locally, e.g. uv run pytest tests/unit/<your_test_file>.py -v. Leave the suites (make test-unit-*, make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have received a Greptile Confidence Score of at least 4/5 before requesting a maintainer review (Greptile reviews automatically once the PR is opened; only comment @greptileai to re-request a review after pushing changes)

Delays in PR merge?

If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).

Screenshots / Proof of Fix

The lockfile change here is byte-for-byte the one in #48300 (same versions and checksums). The image proof below comes from that PR's lens image, which builds litellm-lens from the same litellm-rust workspace. The roots check exports the image filesystem and matches every file against Mozilla's emSign certificates by fingerprint and public key

Before (dddbaa8)

Crate contents

  1. cargo tree --locked -e normal -i webpki-roots --workspace --depth 1
    webpki-roots v1.0.10
    ├── hyper-rustls v0.27.9
    ├── litellm-http v0.1.0
    └── reqwest v0.12.28
    

Built-in roots in the lens binary (stable/1.106.x before the bump)

  1. docker build --platform linux/arm64 --build-arg LITELLM_RELEASE_TAG=v1.106.4 -f deploy/lens/Dockerfile ., then docker export and the fingerprint check
    emSign ECC Root CA - C3 :: /usr/local/bin/litellm-lens
    emSign Root CA - C1 :: /usr/local/bin/litellm-lens
    emSign Root CA - G1 :: /usr/local/bin/litellm-lens
    

After (5c484f4)

Crate contents

  1. cargo tree --locked -e normal -i webpki-roots --workspace --depth 1
    webpki-roots v1.0.11
    ├── hyper-rustls v0.27.9
    ├── litellm-http v0.1.0
    └── reqwest v0.12.28
    
  2. diff of the downloaded 1.0.10 and 1.0.11 crates: Cargo.toml only changes version, and src/lib.rs has 0 added lines, only the C1 and C3 entries removed. The 1.0.11 src/lib.rs is identical to the v/1.0.11 tag on GitHub, for both crates

Built-in roots in the lens binary (stable/1.106.x after the bump)

  1. The same build and check at 8c3bd28
    emSign Root CA - G1 :: /usr/local/bin/litellm-lens
    emSign Root CA - G1 :: /usr/share/ca-certificates/mozilla/emSign_Root_CA_-_G1.crt
    emSign Root CA - G1 :: /etc/ssl/certs/ca-certificates.crt
    

Type

🚄 Infrastructure

Caveats (if any)

Low

  • I didn't rebuild and scan the gateway image from this branch
    • The lens proof uses the same lockfile change on the same workspace
  • webpki-roots 1.0.11 came out 2026-10-23, inside the 3-day window we use for Python deps

Final Attestation

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR

1.0.11 drops emSign Root CA - C1 and emSign ECC Root CA - C3 from the built-in roots
@yuneng-berri
yuneng-berri enabled auto-merge (squash) October 25, 2026 08:36
@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@yuneng-berri
yuneng-berri merged commit e0982d6 into main Oct 26, 2026
105 of 107 checks passed
@yuneng-berri
yuneng-berri deleted the rust-lock-1025 branch October 26, 2026 17:11
yuneng-berri added a commit that referenced this pull request Oct 28, 2026
1.0.11 drops emSign Root CA - C1 and emSign ECC Root CA - C3 from the built-in roots

(cherry picked from commit e0982d6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants