nonebot2@2.0.1 vulnerabilities

An asynchronous python bot framework.

  • latest version

    2.4.1

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the nonebot2 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
    Improper Neutralization of Special Elements Used in a Template Engine

    nonebot2 is an An asynchronous python bot framework.

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine due to the improper handling of user-provided data in MessageTemplate. An attacker can leak sensitive information, such as environment variables, by injecting malicious input into the message templates.

    Note:

    This is only exploitable if developers incorporate user-provided data into templates without proper sanitization.

    How to fix Improper Neutralization of Special Elements Used in a Template Engine?

    Upgrade nonebot2 to version 2.2.0 or higher.

    [2.0.0a16,2.2.0)