Skip to content

Update js-yaml to ~4.2.0 to address GHSA-h67p-54hq-rp68 - #5847

Open
David Michon (dmichon-msft) with Copilot wants to merge 3 commits into
mainfrom
copilot/upgrade-js-yaml-dependency
Open

Update js-yaml to ~4.2.0 to address GHSA-h67p-54hq-rp68#5847
David Michon (dmichon-msft) with Copilot wants to merge 3 commits into
mainfrom
copilot/upgrade-js-yaml-dependency

Conversation

Copilot AI commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

js-yaml ~4.1.0 has a known advisory (GHSA-h67p-54hq-rp68) for poor performance characteristics with certain input (ReDoS-class behavior). Bumping to ~4.2.0 resolves it.

Changes

  • libraries/rush-lib/package.json — bump js-yaml ~4.1.0~4.2.0
  • apps/api-documenter/package.json — same
  • apps/lockfile-explorer/package.json — same
  • repo-scripts/doc-plugin-rush-stack/package.json — same
  • common/config/subspaces/default/pnpm-lock.yamlrush update resolves to js-yaml@4.2.0
  • common/changes/@microsoft/rush/ — change file with bump type none

Copilot AI changed the title [WIP] Update js-yaml dependency to version 4.2.x to fix security issue Update js-yaml to ~4.2.0 to address GHSA-h67p-54hq-rp68 Jun 24, 2026
@dmichon-msft

David Michon (dmichon-msft) commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Copilot Rebase this and regenerate the lockfile updates

Copilot AI commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

Copilot Rebase this and regenerate the lockfile updates

The rebase is done locally — the branch is now on top of origin/main with all changes intact (lockfile specifiers correctly read ~4.2.04.2.0). However, the push infrastructure is currently returning a GPG signing error (Bad Request from the signing service), which is preventing the force-push from landing. This appears to be a transient service issue on the infrastructure side; retrying once it clears should get the rebased commits up.

Comment thread common/changes/@microsoft/rush/update-js-yaml-security_2026-06-24-18-22.json Outdated
…-24-18-22.json

Co-authored-by: Bharat Middha <5100938+bmiddha@users.noreply.github.com>
@dmichon-msft

Copy link
Copy Markdown
Contributor

Copilot; revert the lockfile, rebase onto latest, then rerun rush update to regenerate and commit the lockfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs triage

Development

Successfully merging this pull request may close these issues.

3 participants