Skip to content

Ignore js-yaml merge advisory for real - #1071

Merged
juliasilge merged 1 commit into
mainfrom
chore/snyk-JSYAML-18313070
Jul 27, 2026
Merged

Ignore js-yaml merge advisory for real#1071
juliasilge merged 1 commit into
mainfrom
chore/snyk-JSYAML-18313070

Conversation

@juliasilge

Copy link
Copy Markdown
Collaborator

Two advisories landed on 2026-07-27 and generated yet another seven Snyk fix PRs (#1064 through #1070).

SNYK-JS-JSYAML-18313070 (inefficient algorithmic complexity in readFlowCollection, CVSS 8.7) is fixed only in js-yaml 5.2.2. There is no backport in the 4.x line, so the lockfile re-resolution used in #1056 cannot reach it, and js-yaml 5.0.0 is a breaking rewrite (flat named exports, YAML 1.2 number parsing instead of 1.1, reorganized schema exports) that deserves a deliberate migration rather than an automated bump. This PR adds a .snyk policy ignoring the advisory with a 90-day expiry (2026-10-25). Snyk's GitHub integration reads .snyk per manifest directory rather than from the repo root, so the file is duplicated into each directory it scans as its own project, plus one at the root so local snyk test runs agree with CI.

Exposure is not very serious in the meantime. The affected parse path handles front matter and config from documents the user has already opened locally, not untrusted network input, so the worst case is a self-inflicted editor hang.

@posit-snyk-bot

posit-snyk-bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@juliasilge
juliasilge merged commit d460490 into main Jul 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants