jose
6.2.18 · 18 Nov 2026MIT244.2M / weekRepositorynpmAtom feed
Upgrading jose From 3.1.1 to 3.20.4
53 releases in betweennotes for 52
Reading releases, release notes and advisories…
- ?
- changes to make
- 2
- advisories fixed
- 27+
- new
- 38+
- fixes
Counted from 52 of 53 release notes. Advisories are counted from the advisory database, in full.
Security
1 advisory still affects 3.20.4
- jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintextmoderate · GHSA-hhhv-q57g-882q
Upgrading to 4.15.5 clears it.
Fixes 2 advisories affecting 3.1.1
- Padding Oracle Attack due to Observable Timing Discrepancy in josemoderate · GHSA-58f5-hfqc-jgch
- JOSE vulnerable to resource exhaustion via specifically crafted JWEmoderate · GHSA-jv3g-j58f-9mq9
- 3.11.4
Defer AES CBC w/ HMAC decryption after tag verification passes (579485c), fixes CVE-2021-29443, CVE-2021-29444 , CVE-2021-29445, and CVE-2021-29446
Release by release
- Fixed
Limit default PBES2 alg's computational expense
- Fixed
- Fixed
Remove clutter when tree shaking browser dist
- Fixed
typescript: JWTExpired error TS2417
- Fixed
- Fixed
Allow tree-shaking of errors
- Fixed
- Fixed
typescript: PEM import functions always resolve a KeyLike, never a Uint8Array
- Fixed
- New
Return resolved key when verify and decrypt resolve functions are used
- New
- New
Add X.509/SPKI/PKCS8 key import and SPKI/PKCS8 export functions
- New
- New
cloudflare workers: add support for EdDSA using Ed25519
- New
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.