Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.
Open advisories
2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.
swapindex takes an iterator and swaps the items with their corresponding indexes. It reserves capacity and sets the length of the vector based on the .len() method of the iterator. If the len() returned by the iterator is larger than the actual number of elements yielded, then swapindex creates a vector containing uninitialized members. If the len() returned by the iterator is smaller than the actual number of members yielded, then swapindex can write out of bounds past its allocated vector. As noted by the Rust documentation, len() and sizehint() are primarily meant for optimization and incorrect values from their implementations should not lead to memory safety violations.
Recommended action: Upgrade to 1.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.
swapindex takes an iterator and swaps the items with their corresponding indexes. It reserves capacity and sets the length of the vector based on the .len() method of the iterator. If the len() returned by the iterator is larger than the actual number of elements yielded, then swapindex creates a vector containing uninitialized members. If the len() returned by the iterator is smaller than the actual number of members yielded, then swapindex can write out of bounds past its allocated vector. As noted by the Rust documentation, len() and sizehint() are primarily meant for optimization and incorrect values from their implementations should not lead to memory safety violations.
Recommended action: Upgrade to 1.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.