Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
js-yaml: Quadratic-complexity DoS in merge key handling via repeated aliases
Vulnerability Description
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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Vulnerability Type
算法复杂性
Vulnerability Title
Nodeca JS-YAML 资源管理错误漏洞
Vulnerability Description
Nodeca JS-YAML是Nodeca个人开发者开源的一个JavaScript YAML解析器和转储器。 Nodeca JS-YAML 4.2.0之前版本存在资源管理错误漏洞,该漏洞源于合并键处理中重复使用别名导致算法性CPU耗尽,可能造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A