py@1.5.2 vulnerabilities

library with cross-python path, ini-parsing, io, code, log facilities

  • latest version

    1.11.0

  • latest non vulnerable version

  • first published

    16 years ago

  • latest version published

    3 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Regular Expression Denial of Service (ReDoS)

    py is an a Python development support library.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The subpattern \d+\s*\S+ is ambiguous which makes the pattern subject to catastrophic backtracing given a string like "1" * 5000.

    SVN blame output seems to always have at least one space between the revision number and the user name, so the ambiguity can be fixed by changing the * to +.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade py to version 1.10.0 or higher.

    [0,1.10.0)