fix(deps): upgrade yaml to 2.9.0#178
Open
pavel-snyk wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
This is a minor version upgrade that the author notes consists of only patch-level changes. The primary change is a documentation update to clarify that parsing functions may throw errors on malicious input, which was always a possibility. The release also includes fixes to prevent call stack exhaustion on very large or complex inputs. No breaking API changes are documented. Source: Release notes
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade yaml from 2.8.1 to 2.9.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-YAML-15765520
Breaking Change Risk
Release notes
Package name: yaml
-
2.9.0 - 2026-05-11
- fix: Avoid calling
- fix(lexer): Avoid recursive calls that may exhaust the call stack
-
2.8.4 - 2026-05-02
- Disable alias resolution with
- Handle invalid unicode escapes (e1a1a77)
- Apply
-
2.8.3 - 2026-03-21
- Add
- Catch stack overflow during node composition (1e84ebb)
-
2.8.2 - 2025-11-30
- Serialize -0 as -0 (#638)
- Do not double newlines for empty map values (#642)
-
2.8.1 - 2025-08-05
- Preserve empty block literals (#634)
from yaml GitHub release notesThe changes here are really only patches, but I'm releasing this as a minor version to note a small change to the documentation of
parseDocument()andparseAllDocuments(): I've removed the claim that they'll "never throw".It remains the case that practically all non-malicious inputs will be handled without emitting an error, but there is a decent chance that code paths remain where e.g. a RangeError due to call stack exhaustion can be triggered by malicious inputs. Up to now, I've considered these as security vulnerabilities, and in fact it's the only category of error for which
yamlCVEs have been issued so far.Starting from this release, I'll be considering such errors as bugs, but not vulnerabilities. I do welcome people and/or LLMs looking for them, but please report them as normal issues rather than suspected security vulnerabilities. This also applies to previously undiscovered bugs in earlier releases.
Array.prototype.push.apply()with large source arraymaxAliasCount:0(#677)minFractionDigitsonly to decimal strings (#676)trailingCommaToString option for multiline flow formatting (#670)Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: