yaml@2.1.0 vulnerabilities

JavaScript parser and stringifier for YAML

  • latest version

    2.7.1

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    19 days ago

  • licenses detected

    • >=1.0.0-beta.1
  • Direct Vulnerabilities

    Known vulnerabilities in the yaml 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
    • H
    Uncaught Exception

    Affected versions of this package are vulnerable to Uncaught Exception due to improper validation of the input passed to the functions parseDocument and parseAllDocuments. Exploiting this vulnerability is possible when these functions are fed an invalid input with more than 80 carriage return characters (\r).

    How to fix Uncaught Exception?

    Upgrade yaml to version 2.2.2, 2.3.0-5 or higher.

    >=2.0.0-4 <2.2.2>=2.3.0-0 <2.3.0-5