pnpm / pnpm/action-setup

Update bundled brace-expansion for GHSA-3jxr-9vmj-r5cp

Open
#279 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
217
Avg merge
8h 42m
Merged PRs (30d)
1

Description

Summary

The current pnpm/action-setup release bundles brace-expansion 1.1.12, which is covered by GHSA-3jxr-9vmj-r5cp, an exponential-time denial-of-service vulnerability.

Current release

The v6 branch and v6.0.9 release resolve brace-expansion 1.1.12 in pnpm-lock.yaml. The checked-in dist/index.js bundle also includes the vulnerable implementation.

The patched 1.x floor is 1.1.16. The advisory was published after v6.0.9, and I could not find an existing issue or pull request tracking it.

Requested remediation

Please update brace-expansion to at least 1.1.16, regenerate the lockfile, rebuild dist/index.js, and publish a patched release. Verifying the generated bundle is important because consumers pin and execute the committed JavaScript rather than installing the repository lockfile.

Exploitability depends on whether a workflow exposes brace patterns to untrusted input, but downstream repositories and security scanners still inherit the bundled vulnerable code.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pnpm-lock.yaml on the v6 branch and inspect the committed dist/index.js bundle to trace the bundled brace-expansion version. Update the dependency, regenerate the lockfile, rebuild the bundle, and verify that the vulnerable implementation is gone. Done means the patched bundle is committed and a patched release is published.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, nodejs, typescript
Domain
ci-cd, release, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.