Skip to content

supply-chain: upgrade and audit find-msvc-tools 0.1.16 and sha2 0.11.3 (26 -> 24 exemptions) - #320

Merged
devonjonte merged 1 commit into
nextfrom
supply-chain/upgrade-audit-fmt-sha2
Dec 2, 2026
Merged

devonjonte merged 1 commit into
nextfrom
supply-chain/upgrade-audit-fmt-sha2

Conversation

@devonjonte

Copy link
Copy Markdown
Collaborator

Upgrades two exempted dependencies in Cargo.lock to fixed upstream releases and certifies both under agent-safe-to-deploy (26 -> 24 exemptions, 25 fully audited):

  • find-msvc-tools 0.1.11 -> 0.1.16: resolves the 0.1.11 null empty BSTR UB (src/com.rs) and COM IEnumSetupInstances::Next infinite loop (src/setup_config.rs, src/vs_instances.rs; rust-lang/cc-rs#2119). Full line-by-line review of Cargo.toml (build = false, zero deps) and all 11 src/*.rs files plus independent cross-family adversarial review (claude-fable-5.2). Non-blocking caveat in supply-chain/audits.toml: legacy HKLM RegEnumKeyExW iterator in src/registry.rs (find_old_msbuild).
  • sha2 0.11.0 -> 0.11.3: resolves the 0.11.0 aarch64_be wrong-digest bug (RustCrypto/hashes#957), riscv_zknh wrapping_sub/ptr::add GEP UB (#879/#929), and manual-backend cfg signatures (#948/#958). Full line-by-line review of all 27 src/**/*.rs files plus independent cross-family adversarial review (claude-fable-5.2). Non-blocking caveats in supply-chain/audits.toml: compile-only #[inline(always)]+#[target_feature] typo in opt-in nightly src/sha512/riscv_zknh/unroll.rs:15, and hazmat block_api::deserialize unchecked block_len.

Separately audited and kept exempted: getrandom 0.4.3 and r-efi 6.0.0 (r_efi::Status::is_error 0xc0 mask misclassifying 0xC000... OEM UEFI errors as Ok, fail-open efi_rng MaybeUninit::assume_init UB, esp_fill_random return-type mismatch, wasi_p1 i32::MIN overflow).

Verified locally: cargo vet --locked (25 fully audited, 24 exempted), python3 tools/dependency_policy.py + controls (8/8), and cargo nextest run --release --workspace (246/246 passed).

Next move: devonjonte

@devonjonte devonjonte self-assigned this Dec 2, 2026
devonjonte added a commit that referenced this pull request Dec 2, 2026
Since verified-garbage joined the contender set in PR #317 (c050195)
and PR #318 (5b4c6d0) added the new cells and workspace member,
hosted macos-latest fat-LTO release nextest builds take 31-38 minutes
(38-41 minutes total job wall time), causing next (5b4c6d0, run
46794314590) and PR #320 pull_request runs to cancel at the 40-minute
ceiling even while the same commit's push run passes in 38 minutes.

Give build-test-run 60 minutes so hosted macos-latest finishes cleanly
without weakening release test optimization.
@devonjonte
devonjonte force-pushed the supply-chain/upgrade-audit-fmt-sha2 branch from 9301693 to 22d2837 Compare December 2, 2026 10:53
Upgrades two exempted lockfile dependencies to fixed upstream releases
and certifies both under agent-safe-to-deploy (26 -> 24 exemptions,
25 fully audited):

- find-msvc-tools 0.1.11 -> 0.1.16: resolves null empty BSTR UB and
  COM IEnumSetupInstances::Next infinite loop (rust-lang/cc-rs#2119).
- sha2 0.11.0 -> 0.11.3: resolves aarch64_be endianness bug
  (RustCrypto/hashes#957), riscv_zknh GEP UB (#879/#929), and
  manual-backend cfg signatures (#948/#958).

Full line-by-line review of all shipped files in both crates with
independent cross-family adversarial review (claude-fable-5.2).
Non-blocking caveats are recorded transparently in supply-chain/audits.toml.

Separately audited and kept exempted: getrandom 0.4.3 and r-efi 6.0.0
(Status::is_error 0xc0 mask misclassifying 0xC000... OEM UEFI errors
as Ok, fail-open efi_rng MaybeUninit::assume_init UB, esp_fill_random
return-type mismatch, wasi_p1 i32::MIN negation overflow).
@devonjonte
devonjonte force-pushed the supply-chain/upgrade-audit-fmt-sha2 branch from 22d2837 to 825a485 Compare December 2, 2026 11:15
@devonjonte
devonjonte merged commit 7556276 into next Dec 2, 2026
16 checks passed
@devonjonte
devonjonte deleted the supply-chain/upgrade-audit-fmt-sha2 branch December 2, 2026 11:30
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.

1 participant