Skip to content

← Public intelligence

crates.io package

libafl

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. Medium, CVSS 6.9crates.ioPublished

    libafl has unsound usages of core::slice::from_raw_parts_mut

    GHSA-f7qj-v3vp-4856

    Affected
    • crates.io libafl < 0.11.2
    Fixed in
    0.11.2· Vendor fix available
    Issue
    The library breaks the safety assumptions when using unsafe API slice::fromrawpartsmut. The pointer passed to fromrawpartsmut is misaligned by casting u8 to u16 raw pointer directly, which is unsound. The bug is patched by using alignoffset, which could make sure the memory address is aligned to 2 bytes for u16. This was patched in 0.11.2 in the commit.

    Recommended action: Upgrade to 0.11.2 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 →