flash-attn@2.8.1

Flash Attention: Fast and Memory-Efficient Exact Attention

  • latest version

    2.8.3.post1

  • first published

    3 years ago

  • latest version published

    22 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the flash-attn package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Arbitrary Code Injection

    flash-attn is a Flash Attention: Fast and Memory-Efficient Exact Attention

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the load_checkpoint function and checkpoint loading process. An attacker can achieve arbitrary code execution by supplying a maliciously crafted checkpoint file that is deserialized when loaded during model warmstarting or evaluation.

    How to fix Arbitrary Code Injection?

    There is no fixed version for flash-attn.

    [0,)