yara-mail@3.2.2 vulnerabilities

A Python package and command line utility for scanning emails with YARA rules

  • latest version

    3.3.0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the yara-mail 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
    Improper Validation of Specified Type of Input

    yara-mail is an A Python package and command line utility for scanning emails with YARA rules

    Affected versions of this package are vulnerable to Improper Validation of Specified Type of Input due to the automatic treatment of string input as a filesystem path in the mailsuite.utils.parse_email() and mailsuite.utils.from_trusted_domain() functions. An attacker can read arbitrary files by crafting messages that are interpreted as potential file paths.

    How to fix Improper Validation of Specified Type of Input?

    Upgrade yara-mail to version 3.3.0 or higher.

    [,3.3.0)