CVE-2026-53550 js-yaml: Quadratic-complexity DoS in merge key handling via repeated aliases
설명
js-yaml is a JavaScript YAML parser and dumper. Prior to 4.2.0 and 3.15.0, a crafted YAML document can trigger algorithmic CPU exhaustion in js-yaml merge-key processing (<<) by repeating the same alias many times in a merge sequence. This causes quadratic parse-time behavior relative to input size and can block a Node.js worker/event loop for seconds with a relatively small payload (tens of KB), resulting in denial of service. The issue is in merge handling inside lib/loader.js. This vulnerability is fixed in 4.2.0 and 3.15.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
nodeca
js-yaml
영향 받는 버전
- 4.0.0 이상 4.2.0 미만
- 3.15.0 미만
해결 버전
- 4.2.0 이상
- 3.15.0 이상