ms-swift@4.4.0

Swift: Scalable lightWeight Infrastructure for Fine-Tuning

  • latest version

    4.5.0.dev0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ms-swift 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
    Use of Weak Hash

    ms-swift is a Swift: Scalable lightWeight Infrastructure for Fine-Tuning

    Affected versions of this package are vulnerable to Use of Weak Hash in the Template._save_pil_image() function in swift/template/base.py. An attacker can exploit a weakness in cache key integrity to tamper with the resolved image from a given hash. Different images with identical raw bytes and different dimensions may have the same hash, which can be used to cause the wrong image to be returned by a hash lookup.

    How to fix Use of Weak Hash?

    Upgrade ms-swift to version 4.4.2 or higher.

    [0,4.4.2)