Repository navigation
fix(rust-rustls-webpki0.102): remove unused component to address CVEs - #20299
Open
Muhammad Falak R Wani (mfrw) wants to merge 1 commit into
Open
Muhammad Falak R Wani (mfrw) wants to merge 1 commit into
Muhammad Falak R Wani (mfrw) wants to merge 1 commit into
Conversation
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>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Removing rust-rustls-webpki0.102 from SDK/builddeps publication requires maintainer sign-off before merging.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Remove the unused
rust-rustls-webpki0.102component, its lock, and its rendered sources, the same way #19517 removedrust-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)
bit_string_flags()when a CRL'sonlySomeReasonsis a BIT STRING with no data bytes (GHSA-82j2-j2ch-gfr8)distributionPoint, so revoked certificates can pass underUnknownStatusPolicy::Allow(GHSA-pwjx-qhcg-rvj4)Nothing depends on it
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.21requires>= 0.101.7 with < 0.102.0~, whichrust-rustls-webpki0.101provides.>= 0.103:rust-rustls,rust-rustls-native-certs,rust-rustls-platform-verifier,rust-rustls-platform-verifier0.5,rust-webpki-root-certsanduv.builddeps, and nothing else in the 4.0 tree refers torust-rustls-webpki0.102.Changes
base/comps/components.toml: drop therust-rustls-webpki0.102entrylocks/rust-rustls-webpki0.102.lock: deletedspecs/r/rust-rustls-webpki0.102/: deleted (rendered spec, metadata patch, sources)Testing
azldev component changedfrom4.0reports onlyrust-rustls-webpki0.102, as deleted.azldev component update --check-only -a, the checkverify_locks.shruns, is clean across all 7,679 components.rust-rustls-webpki0.102remain in the tree.components.toml.