Skip to content

fix(rust-rustls-webpki0.102): remove unused component to address CVEs - #20299

Open
Muhammad Falak R Wani (mfrw) wants to merge 1 commit into
4.0from
mfrw/rust-rustls-webpki0.102-remove
Open

Muhammad Falak R Wani (mfrw) wants to merge 1 commit into
4.0from
mfrw/rust-rustls-webpki0.102-remove

Conversation

@mfrw

Copy link
Copy Markdown
Member

Summary

Remove the unused rust-rustls-webpki0.102 component, its lock, and its rendered sources, the same way #19517 removed rust-av-scenechange.

The package ships the rustls-webpki 0.102.8 crate, which is affected by four CVEs fixed upstream only in the 0.103 series. Upstream has no fixed 0.102.x release: 0.102.8, from September 2024, is the last one. No Azure Linux 4.0 package depends on it, so removing it is the fix.

CVEs addressed (4)

CVE Astrolabe Affected upstream Fixed in
CVE-2026-93599 reachable panic in bit_string_flags() when a CRL's onlySomeReasons is a BIT STRING with no data bytes (GHSA-82j2-j2ch-gfr8) High all versions before 0.103.13 0.103.13
CVE-2026-93602 CRL authority matching compares only the first distributionPoint, so revoked certificates can pass under UnknownStatusPolicy::Allow (GHSA-pwjx-qhcg-rvj4) Medium from 0.102.0-alpha.0, before 0.103.10 0.103.10
CVE-2026-93600 URI name constraints are accepted instead of enforced (GHSA-965h-392x-2mh5) Low from 0.101.0, before 0.103.12 0.103.12
CVE-2026-93601 a wildcard certificate satisfies a permitted-subtree DNS name constraint it should fail (GHSA-xgp8-3hg3-c2mh) Low from 0.101.0, before 0.103.12 0.103.12

Nothing depends on it

  • I checked the published repos, x86_64, aarch64 and SRPMs (whose BuildRequires include the generated crate() ones), in prod (base, builddeps, cloud-native, microsoft, nvidia and amd) and preview (base and builddeps). Only the package's own subpackages require rustls-webpki 0.102.
  • rust-rustls0.21 requires >= 0.101.7 with < 0.102.0~, which rust-rustls-webpki0.101 provides.
  • Every other consumer requires >= 0.103: rust-rustls, rust-rustls-native-certs, rust-rustls-platform-verifier, rust-rustls-platform-verifier0.5, rust-webpki-root-certs and uv.
  • The 0.102 packages are published only in builddeps, and nothing else in the 4.0 tree refers to rust-rustls-webpki0.102.

Changes

  • base/comps/components.toml: drop the rust-rustls-webpki0.102 entry
  • locks/rust-rustls-webpki0.102.lock: deleted
  • specs/r/rust-rustls-webpki0.102/: deleted (rendered spec, metadata patch, sources)

Testing

  • azldev component changed from 4.0 reports only rust-rustls-webpki0.102, as deleted.
  • azldev component update --check-only -a, the check verify_locks.sh runs, is clean across all 7,679 components.
  • No references to rust-rustls-webpki0.102 remain in the tree.
  • The commit message matches the commitizen schema, and editorconfig-checker passes on components.toml.

No Azure Linux 4.0 package depends on the rustls-webpki 0.102 crate:
rust-rustls0.21 needs 0.101, and every other consumer needs 0.103 or
later. rustls-webpki 0.102.8 is affected by CVE-2026-93599,
CVE-2026-93600, CVE-2026-93601 and CVE-2026-93602, and upstream has no
fixed 0.102.x release. Drop its definition, lock, and rendered sources.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 15, 2026 07:09
@mfrw Muhammad Falak R Wani (mfrw) added security 4.0 Issues and PRs for Azure Linux 4.0 targets-4.0 labels Nov 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Removing rust-rustls-webpki0.102 from SDK/builddeps publication requires maintainer sign-off before merging.

1 open issue
What changed in this PR

Removes the unused rust-rustls-webpki0.102 component from Azure Linux 4.0 to address four reported CVEs, following the removal pattern in #19517.

Changes:

  • Drops the component registration.
  • Deletes its lock and all rendered packaging inputs.
  • Leaves other rustls-webpki versions unchanged.
File Description
specs/​r/​rust-rustls-webpki0.102/​sources Deletes the crate source checksum.
specs/​r/​rust-rustls-webpki0.102/​rustls-webpki-fix-metadata.diff Deletes the component-specific metadata patch.
specs/​r/​rust-rustls-webpki0.102/​rust-rustls-webpki0.102.spec Deletes the rendered RPM specification.
locks/​rust-rustls-webpki0.102.lock Removes the upstream pin and fingerprints.
base/​comps/​components.toml Removes the component registration.

Review effort: Balanced

[components.'rust-rustls-platform-verifier0.5']
[components.'rust-rustls-webpki0.101']
[components.'rust-rustls-webpki0.102']
[components.'rust-rustls0.21']

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 Issues and PRs for Azure Linux 4.0 security targets-4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants