org.webjars.npm:js-yaml@3.5.5 vulnerabilities

  • latest version

    4.1.0

  • first published

    10 years ago

  • latest version published

    4 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:js-yaml 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
    Prototype Pollution

    org.webjars.npm:js-yaml is a human-friendly data serialization language.

    Affected versions of this package are vulnerable to Prototype Pollution via the merge function. An attacker can alter object prototypes by supplying specially crafted YAML documents containing __proto__ properties. This can lead to unexpected behavior or security issues in applications that process untrusted YAML input.

    How to fix Prototype Pollution?

    A fix was pushed into the master branch but not yet published.

    [0,)
    • H
    Arbitrary Code Execution

    org.webjars.npm:js-yaml is a human-friendly data serialization language.

    Affected versions of this package are vulnerable to Arbitrary Code Execution. When an object with an executable toString() property used as a map key, it will execute that function. This happens only for load(), which should not be used with untrusted data anyway. safeLoad() is not affected because it can't parse functions.

    How to fix Arbitrary Code Execution?

    Upgrade org.webjars.npm:js-yaml to version 3.13.1 or higher.

    [,3.13.1)
    • M
    Denial of Service (DoS)

    org.webjars.npm:js-yaml is a human-friendly data serialization language.

    Affected versions of this package are vulnerable to Denial of Service (DoS). The parsing of a specially crafted YAML file may exhaust the system resources.

    How to fix Denial of Service (DoS)?

    Upgrade org.webjars.npm:js-yaml to version 3.13.0 or higher.

    [3.0.0,3.13.0)