createHmac
createHmac copied to clipboard
fix: update sha.js to ^2.4.12 to address CVE-2025-9288
- Bumps sha.js from ^2.4.8 to ^2.4.12
- Fixes security vulnerability where missing input type checks could lead to hash state rewind and value miscalculation
- CVE-2025-9288: https://github.com/advisories/GHSA-95m3-7q98-8xr5
lockfile is unrelated also this change doesn't improve anything but causes extra churn
lockfile is unrelated
Thanks for the comment. Lockfile addition was accidental, removed it.
also this change doesn't improve anything but causes extra churn
Fair enough on the churn. The issue is most users get this transitively through other packages, so can't control the sha.js version directly. Lockfiles will stick with vulnerable 2.4.11 without this change. The idea behind this was that new installations would get the secure version by default.
But understood if you prefer to keep it as-is. We are handling this with overrides on our end.