Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

fix: bump pbkdf2 to >=3.1.3 (CVE-2025-6547, CVE-2025-6545)#18

Open
persimmon16 wants to merge 2 commits into
mainfrom
fix/CVE-2025-6547-CVE-2025-6545-pbkdf2
Open

fix: bump pbkdf2 to >=3.1.3 (CVE-2025-6547, CVE-2025-6545)#18
persimmon16 wants to merge 2 commits into
mainfrom
fix/CVE-2025-6547-CVE-2025-6545-pbkdf2

Conversation

@persimmon16

Copy link
Copy Markdown
Contributor

Summary

  • CVE-2025-6547 (CVSS 9.1) and CVE-2025-6545 (CVSS 9.1) affect pbkdf2 versions prior to 3.1.3
  • pbkdf2@3.1.2 was present as a transitive production dependency via web3 -> crypto-browserify / ethereum-cryptography
  • Added an npm overrides entry in package.json to force pbkdf2 >= 3.1.3
  • Regenerated package-lock.json; pbkdf2 now resolves to 3.1.5

Changes

  • package.json: Added "overrides": { "pbkdf2": ">=3.1.3" }
  • package-lock.json: Regenerated to reflect the updated resolution

Verification

  • npm ls pbkdf2 confirms no instances of 3.1.2 remain
  • package-lock.json contains zero references to pbkdf2-3.1.2

Add npm overrides to resolve pbkdf2 from 3.1.2 to >=3.1.3, fixing
CVE-2025-6547 and CVE-2025-6545 (both CVSS 9.1).

pbkdf2 is a transitive dependency via web3 -> crypto-browserify and
ethereum-cryptography. The override ensures all nested resolutions
use a patched version.
@socket-security

This comment was marked as resolved.

The CI workflow sets FOUNDRY_PROFILE=ci but foundry.toml only had
[profile.default]. Added [profile.ci] to unblock CI pipeline.
@persimmon16 persimmon16 requested a review from moodlezoup March 27, 2026 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant