CVE-2013-4660
Deserialization Code Execution in js-yaml
EPSS 17.2%
描述
Versions 2.0.4 and earlier of `js-yaml` are affected by a code execution vulnerability in the YAML deserializer. ## Proof of Concept ``` const yaml = require('js-yaml'); const x = `test: !!js/function > function f() { console.log(1); }();` yaml.load(x); ``` ## Recommendation Update js-yaml to version 2.0.5 or later, and ensure that all instances where the `.load()` method is called are updated to use `.safeLoad()` instead.
如何修補 CVE-2013-4660
要修補 CVE-2013-4660,請將受影響套件升級到下列已修補版本。
- npm/js-yaml—升級至 2.0.5 或更新版本
CVE-2013-4660 正在被利用嗎?
中等 — EPSS 為 17.2%,可持續追蹤但非最高優先。
受影響套件(1)
- from 0, < 2.0.5