You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependabot has reported a high-severity security vulnerability in the js-yaml dependency (GHSA-5p4m-2wfm-xmqj) located in functions/package-lock.json.
Versions of js-yaml between 4.0.0 and 4.3.0 suffer from quadratic CPU consumption in !!omap resolution, which can block the Node.js event loop and lead to a Denial of Service (DoS) when parsing untrusted YAML.
Problem / Motivation
js-yamldependency (GHSA-5p4m-2wfm-xmqj) located infunctions/package-lock.json.js-yamlbetween 4.0.0 and 4.3.0 suffer from quadratic CPU consumption in!!omapresolution, which can block the Node.js event loop and lead to a Denial of Service (DoS) when parsing untrusted YAML.Proposed Solution
js-yamldependency to the patched version (4.3.1) in thefunctionsdirectory.functions/package-lock.jsonto reflect the updated transitive or direct dependency.functionsmodule.Acceptance Criteria
js-yamldependency infunctions/package-lock.jsonis updated to at least version4.3.1.make fast-checkpasses during iterative development (~15–30s).make check > build.log 2>&1 && echo "Check passed successfully" || (tail -n 100 build.log && exit 1)passes with 0 failures before merging.Out of Scope
js-yaml(e.g., to 5.x) or other dependencies unrelated to this specific alert, unless strictly necessary for compatibility.functionsmodule.Related Issues / PRs