chore(deps): update chacha20 to 0.10.2 - #6160
Conversation
Run `cargo update --package chacha20@0.10.1` to replace the yanked 0.10.1 release with 0.10.2, which fixes an SSE4.1 intrinsic used by the SSE2 backend. Remove the RUSTSEC-2026-0097 ignore because the current dependency graph no longer matches the advisory. Cargo deny passes without the exception. Signed-off-by: Takahiro Itazuri <zulinx86@gmail.com>
Detailed Dependency And Impact Investigation1. Direct Requester Of
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6160 +/- ##
=======================================
Coverage 83.01% 83.02%
=======================================
Files 277 277
Lines 30933 30933
=======================================
+ Hits 25680 25681 +1
+ Misses 5253 5252 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
edb601c
Changes
chacha20from 0.10.1 to 0.10.2 by runningcargo update --package chacha20@0.10.1.RUSTSEC-2026-0097advisory ignore and its stale rationale fromdeny.toml.Reason
Possible Impact
RustCrypto yanked
chacha200.10.0 and 0.10.1 after issue #579 identified code that could require SSE4.1 while running on a path enabled for SSE2 hosts.On an SSE2-only host, executing this path could raise an illegal-instruction exception and terminate the process. Version 0.10.2 fixes the CPU feature mismatch in PR #580.
Firecracker Dependency And Impact Assessment
The existing
deny.tomlrationale stated thatuuiddid not enablefast-rngorrng-rand. The current resolved feature graph contradicts that assumption:Although the RNG implementation is enabled,
vhostproduction code does not call random UUID generation. ItsUuid::new_v4()call sites are limited to test code, so Firecracker has no production call path to the affected ChaCha implementation.Detailed supporting evidence is available in this investigation comment.
The RUSTSEC-2026-0097 ignore is also obsolete: the current graph no longer matches the advisory, and
cargo deny check advisoriesreports zero errors and zero warnings without it.Release Impact
This is not a guest-triggerable Firecracker vulnerability. Existing Firecracker releases do not require a patch release because production code cannot reach the affected path.
The dependency update is still required to remove a yanked crate from the lockfile and restore the nightly advisory check.
Testing
tools/devtool --unattended test --no-build --no-kvm-check --no-artifacts-check -- integration_tests/security/test_sec_audit.py::test_cargo_audittools/devtool --unattended checkstyletools/devtool --unattended checkbuild --allLicense Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.PR Checklist
tools/devtool checkbuild --allto verify that the PR passes build checks on all supported architectures.tools/devtool checkstyleto verify that the PR passes the automated style checks.CHANGELOG.md: not applicable; no user-facing changes.TODOentries: none.rust-vmm(not applicable; no functionality is added).