pywikibot@10.7.0 vulnerabilities

Python MediaWiki Bot Framework

  • latest version

    10.7.4

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the pywikibot 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
    • C
    Arbitrary Code Injection

    pywikibot is a Python MediaWiki Bot Framework

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the readPassword method in pywikibot.login, which used eval() on password file entries. Each non-empty, non-comment line from the configured password file was evaluated with Python’s eval without restricting the syntax, allowing arbitrary Python expressions in that file to execute within the pywikibot process.

    How to fix Arbitrary Code Injection?

    Upgrade pywikibot to version 10.7.1 or higher.

    [,10.7.1)