yamale@2.2.0

A schema and validator for YAML.

  • latest version

    6.1.0

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the yamale 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
    Remote Code Execution (RCE)

    yamale is an A schema and validator for YAML.

    Affected versions of this package are vulnerable to Remote Code Execution (RCE) via the schema parameter in the yamale.validate function.

    How to fix Remote Code Execution (RCE)?

    Upgrade yamale to version 4.0.0 or higher.

    [,4.0.0)
    • C
    Arbitrary Code Execution

    yamale is an A schema and validator for YAML.

    Affected versions of this package are vulnerable to Arbitrary Code Execution. The schema parser uses eval as part of its processing, and tries to protect from malicious expressions by limiting the builtins that are passed to the eval. When processing the schema, each line is run through Python's eval function to make the validator available. A well-constructed string within the schema rules can execute system commands; thus, by exploiting the vulnerability, an attacker can run arbitrary code on the image that invokes Yamale.

    How to fix Arbitrary Code Execution?

    Upgrade yamale to version 3.0.8 or higher.

    [,3.0.8)