Skip to content

fix: override elliptic and browserify-sign to patch crypto CVEs - #2081

Open
rayhanest wants to merge 1 commit into
caolan:masterfrom
Nordix:fix/elliptic-crypto-cves
Open

fix: override elliptic and browserify-sign to patch crypto CVEs#2081
rayhanest wants to merge 1 commit into
caolan:masterfrom
Nordix:fix/elliptic-crypto-cves

Conversation

@rayhanest

Copy link
Copy Markdown

Summary

Overrides two transitive crypto packages in the browserify dev-dependency chain to patched versions, resolving one Critical and one High advisory.

Package Override spec Resolves to Advisory Severity
elliptic ^6.6.1 6.6.1 GHSA-vjh7-7g9h-fjfh Critical
browserify-sign ^4.2.3 4.2.6 GHSA-x9w5-v3q2-3rhw High

Both packages sit in the same chain:
browserify → crypto-browserify → browserify-sign → elliptic.
They are fixed together because they share root cause: an outdated browserify crypto subtree.

Scope

  • Dev-only. Neither package ships in the published async package
  • No production or source code changed.

Add npm overrides to resolve:
- CVE-2024-48949 (elliptic <6.6.0): signature validation bypass
- CVE-2023-46234 (browserify-sign <4.2.2): missing upper-bound check in dsaVerify

Both are transitive dev dependencies pulled in by browserify.
No production code is affected. All 690 tests pass.
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