black@26.5.0

The uncompromising code formatter.

  • latest version

    26.10.1

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the black 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
    • H
    Unsafe Dependency Resolution

    Affected versions of this package are vulnerable to Unsafe Dependency Resolution via insufficient validation of the required-version field in action/main.py. When the required-version key in pyproject.toml is set to a value that resembles a direct reference (e.g., a VCS URL or a local path), the GitHub Action passes it unsanitized to the package installer, allowing an attacker with write access to the pyproject.toml to cause the Action to install an arbitrary package in place of black.

    How to fix Unsafe Dependency Resolution?

    Upgrade black to version 26.10.1 or higher.

    [,26.10.1)