What’s Vulnerable › Vulnerabilities
GHSA-2pr6-76vf-7546: Denial of Service in js-yaml
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2019-06-05 · updated 2021-08-04
- Weakness: CWE-400
Description
Versions of `js-yaml` prior to 3.13.0 are vulnerable to Denial of Service. By parsing a carefully-crafted YAML file, the node process stalls and may exhaust system resources leading to a Denial of Service. ## Recommendation Upgrade to version 3.13.0.
Affected products
- Npm Js-Yaml: before 3.13.0 — fixed in 3.13.0
How to fix
Upgrade to a fixed version: Npm Js-Yaml 3.13.0. Check the vendor advisory for mitigations.
References
- https://github.com/nodeca/js-yaml/issues/475
- https://github.com/nodeca/js-yaml/commit/a567ef3c6e61eb319f0bfc2671d91061afb01235
- https://snyk.io/vuln/SNYK-JS-JSYAML-173999
- https://www.npmjs.com/advisories/788
- https://www.npmjs.com/advisories/788/versions
Get alerted when GHSA-2pr6-76vf-7546 or the next vulnerability affects your stack