jose
6.2.18 · 18 Nov 2026MIT244.2M / weekRepositorynpmAtom feed
Upgrading jose From 4.5.2 to 6.2.18
112 releases in betweennotes for 108
Counted from 108 of 112 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
Security
Fixes 2 advisories affecting 4.5.2
- jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintextmoderate · GHSA-hhhv-q57g-882q
- JOSE vulnerable to resource exhaustion via specifically crafted JWEmoderate · GHSA-jv3g-j58f-9mq9
- 4.15.5
Add a maxOutputLength option to zlib inflate (1b91d88), fixes CVE-2024-28176
Release by release
- Fixed
jwe: preserve errors for unavailable compression streams
- Fixed
jwk: require alg on direct AKP key inputs
- Fixed
jwks: report timeouts while reading the response body
- Fixed
jwt: handle mixed-case ago suffixes
- Fixed
jwt: preserve headers when replicating claims
- Fixed
- Fixed
jwt: reject negative maxTokenAge
- Fixed
- Fixed
jwe: cancel decompression when output exceeds the limit
- Fixed
jwks: reject negative cache durations
- Fixed
jwt: reject negative clockTolerance
- Fixed
6.2.13nothing new or fixed in the note
- New
Avoid copying AES-GCM output
- New
Deduplicate pending jwks key imports
- New
Encode single-signature JWS input once
- New
Normalize General JWE shared headers once
- New
Normalize jwks selection metadata once
- New
Use native encoding for larger ASCII strings
- New
6.2.11nothing new or fixed in the note
1 other line we could not sort, mostly version bumps
132 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.