Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.9

js-yaml versions before 3.13.0 can crash your server

published 7 years ago
Summary

Older versions of js-yaml can be tricked into freezing your server, causing it to become unresponsive and potentially run out of resources. This can happen when a specially designed YAML file is parsed. To prevent this, update to the latest version of js-yaml, 3.13.0 or later.

What to do
  • Update vitaly js-yaml to version 3.13.0.
Affected software
Ecosystem VendorProductAffected versions
npm vitaly js-yaml < 3.13.0
Fix: upgrade to 3.13.0
Original advisory text
Denial of Service in js-yaml
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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
5.9 Medium
Type
CWE-400Uncontrolled Resource Consumption
Timeline
Published5 Jun 2019
Updated6 Mar 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta