node-jose
JOSE (JWS, JWE, JWK) implementation from Cisco with RSA, ECDSA and ECDH on the NIST P curves, HMAC, AES (GCM, CBC-HMAC and key wrap), HKDF and PBES2.
In short
What to know.
- Algorithms
- RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384 and 8 more6 of 12 would be broken by a large quantum computer.
- Advisories
- 3 in the storeOSV last read 3 December 2026, 16:48 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDH (Weierstrass curves) before large quantum computers exist.
3 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| Improper calculations in ECC implementation can trigger a Denial-of-Service (DoS) | GHSA-5h4j-qrvg-9xhw | before 2.2.0 | Fixed in 2.2.0 | Rated High |
| Cisco node-jose improper validation of JWT signature | GHSA-jfxm-w8g2-4rcv | before 0.11.0 | Fixed in 0.11.0 | Rated High |
| Invalid Curve Attack in node-jose | GHSA-rvj9-8cvx-3vq9 | before 0.9.3 | Fixed in 0.9.3 | Rated Moderate |
3 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Invalid Curve Attack in node-jose | NMN-2026-0065 | Severity Moderate | 3 December 2026 |
| Cisco node-jose improper validation of JWT signature | NMN-2026-0062 | Severity High | 3 December 2026 |
| Improper calculations in ECC implementation can trigger a Denial-of-Service (DoS) | NMN-2026-0059 | Severity High | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for node-joseregistry.npmjs.orgRetrieved 3 December 2026
- node-jose READMEgithub.comRetrieved 3 December 2026
- node-jose lib/algorithms source directorygithub.comRetrieved 3 December 2026
Full record
- Package
- node-jose
- Ecosystem
- npm
- Role
- Protocol
- Repository
- github.com/cisco/node-jose
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- Last release 2.2.0 in February 2023.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:48 UTC
- Findings
- 3 listed above.
Algorithms it provides
- RSA signatures signatureClassical public keyBroken by Shor's algorithm
- RSA encryption public-key-encryptionClassical public keyBroken by Shor's algorithm
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-521 signatureClassical public keyBroken by Shor's algorithm
- ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
- HMAC macSymmetricWeakened by Grover's search
- AES cipherSymmetricWeakened by Grover's search
- AES-GCM aeadSymmetricWeakened by Grover's search
- HKDF kdfSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDH (Weierstrass curves)
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.HMAC, AES, AES-GCM, HKDF, PBKDF2, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512)
Notes describe algorithm families, not any one project.