yaml@2.1.3 vulnerabilities

JavaScript parser and stringifier for YAML

Direct Vulnerabilities

Known vulnerabilities in the yaml package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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