Headline
CVE-2021-29446: jose-node-cjs-runtime
jose-node-cjs-runtime is an npm package which provides a number of cryptographic functions. In versions prior to 3.11.4 the AES_CBC_HMAC_SHA2 Algorithm (A128CBC-HS256, A192CBC-HS384, A256CBC-HS512) decryption would always execute both HMAC tag verification and CBC decryption, if either failed JWEDecryptionFailed
would be thrown. But a possibly observable difference in timing when padding error would occur while decrypting the ciphertext makes a padding oracle and an adversary might be able to make use of that oracle to decrypt data without knowing the decryption key by issuing on average 128*b calls to the padding oracle (where b is the number of bytes in the ciphertext block). A patch was released which ensures the HMAC tag is verified before performing CBC decryption. The fixed versions are >=3.11.4
. Users should upgrade to ^3.11.4
.
skip to package search or skip to sign in
❤
- Pro
- Teams
- Pricing
- Documentation
npm
Sign UpSign In
4.13.1 • Public • Published 19 days ago
- Readme
- Code Beta
- 0 Dependencies
- 3 Dependents
- 89 Versions
This package does not have a README. Add a README to your package so that users know how to get started.
Keywords
none
Install
npm i jose-node-cjs-runtime
Repository
Gitgithub.com/panva/jose
Homepage
github.com/panva/jose
Fund this package
DownloadsWeekly Downloads
1,500
Version
4.13.1
License
MIT
Unpacked Size
270 kB
Total Files
117
Last publish
19 days ago
Collaborators
Try on RunKit
Report malware