Skip to content

fix: minimist: prototype pollution#36

Merged
galanko merged 1 commit into
masterfrom
cliff/fix/minimist-cve-2021-44906
May 18, 2026
Merged

fix: minimist: prototype pollution#36
galanko merged 1 commit into
masterfrom
cliff/fix/minimist-cve-2021-44906

Conversation

@galanko
Copy link
Copy Markdown

@galanko galanko commented May 18, 2026

Summary

This PR addresses CVE-2021-44906, a critical prototype pollution vulnerability in minimist <=1.2.5.

Changes

  • Updated minimist from 1.2.0 to 1.2.8 via npm overrides in package.json
  • Regenerated package-lock.json to reflect the updated dependency
  • All existing tests pass with the updated dependency

Details

  • CVE: CVE-2021-44906
  • CVSS Score: 9.8 (Critical)
  • Affected Versions: minimist <=1.2.5
  • Fixed Version: 1.2.6+
  • Applied Version: 1.2.8

The vulnerability exists in the setKey() function (lines 69-95) of minimist's index.js, which allows prototype pollution attacks through specially crafted command-line arguments.

Impact

  • Patch-level dependency update (safe_bump)
  • No breaking changes or API modifications
  • Existing code will continue to work without modification
  • Security posture significantly improved by eliminating CVSS 9.8 vulnerability

Testing

  • Existing test suite passes successfully
  • No new vulnerabilities introduced by this update

Generated by Cliff remediation agent

Bump minimist from 1.2.0 to 1.2.8 via npm overrides to fix CVE-2021-44906

The minimist package is vulnerable to prototype pollution in versions <=1.2.5.
This patch updates minimist to 1.2.8 which includes the fix for this critical
vulnerability (CVSS 9.8). The update is applied via npm overrides to ensure
all transitive dependencies use the patched version.
@galanko galanko marked this pull request as ready for review May 18, 2026 14:13
@galanko galanko merged commit c2c0f5c into master May 18, 2026
3 checks passed
@galanko galanko deleted the cliff/fix/minimist-cve-2021-44906 branch May 18, 2026 14:13
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.

1 participant