Files
wekan/scripts
Lauri Ojansivu f5836c3a37 Update pbkdf2 to 3.1.7 for GHSA-477h-4r7f-fvrx.
pbkdf2 <= 3.1.6 hashes an over-long password again on every iteration, so a
1 MiB password costs a full hash per round (CVE-2026-102414, denial of
service). 3.1.7 hashes it once.

meteor-node-stubs 1.2.30 bundles pbkdf2 3.1.3 inside its own tarball, where
npm overrides cannot reach it, and no meteor-node-stubs release bundles 3.1.7.
Instead of forking meteor-node-stubs again, WeKan now depends on pbkdf2
^3.1.7 directly and the new postinstall script
scripts/patch-meteor-node-stubs-pbkdf2.cjs removes the bundled copy, so
crypto-browserify resolves the patched top-level package, and drops the
bundled entries from package-lock.json. It fails the install if the patched
package is missing.

The vendored jade lockfile moves from pbkdf2 3.1.5 to 3.1.7.

tests/dependencySecurityUpdates.test.cjs fails when any tracked lockfile
holds pbkdf2 <= 3.1.6, flags a synthetic 3.1.3 bundled entry, and drives the
postinstall script against fixture trees.

Thanks to dependabot and xet7 !
2026-10-07 17:05:40 +03:00
..