Skip to content

← Public intelligence

crates.io package

libcrux-sha3

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

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.7crates.ioPublished

    libcrux-sha3: Incorrect output from SHAKE squeeze functions

    GHSA-q29p-9pfr-j652

    Affected
    • crates.io libcrux-sha3 < 0.0.8
    Fixed in
    0.0.8· Vendor fix available
    Issue
    The incremental squeeze functions in the portable SHAKE XOF API, when attempting to squeeze more than RATE (168 for SHAKE128, 136 for SHAKE256) bytes, performed an additional permutation of the state before producing the first output block, thus discarding the first block of RATE bytes of valid XOF output. Impact This bug impacts users that rely on this XOF API to squeeze more than RATE bytes. It does not impact the use of libcrux-sha3 in libcrux-ml-kem or libcrux-ml-dsa. Mitigation Starting from version 0.0.8 the squeeze functions correctly output all blocks including the first block.

    Recommended action: Upgrade to 0.0.8 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →