# GHSA-2pr6-76vf-7546: Denial of Service in js-yaml

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-05T14:35:29.000Z
- Modified: 2021-08-04T21:32:56.000Z
- Weaknesses: 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.

(As written by GitHub Advisory Database.)

## Affected

- js-yaml (npm): before 3.13.0

## References

- <https://github.com/nodeca/js-yaml/issues/475> (web)
- <https://github.com/nodeca/js-yaml/commit/a567ef3c6e61eb319f0bfc2671d91061afb01235> (web)
- <https://snyk.io/vuln/SNYK-JS-JSYAML-173999> (web)
- <https://www.npmjs.com/advisories/788> (web)
- <https://www.npmjs.com/advisories/788/versions> (web)

## Sources

- GitHub Advisory Database: [GHSA-2pr6-76vf-7546](https://github.com/advisories/GHSA-2pr6-76vf-7546), CC-BY-4.0, modified 2021-08-04

---

Page: https://cve.day/GHSA-2pr6-76vf-7546 · Whole record: https://cve.day/GHSA-2pr6-76vf-7546.json · Rebuilt by cve.day 2026-11-25T22:56:43.651Z
