{"cve":"CVE-2021-29446","nvd":{"published":"2021-04-16T22:15:14.140","modified":"2026-06-17T03:47:39.480","status":"Modified","description":"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`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":["CWE-203"],"references":["https://github.com/panva/jose/security/advisories/GHSA-rvcw-f68w-8h8h","https://www.npmjs.com/package/jose-node-cjs-runtime","https://github.com/panva/jose/security/advisories/GHSA-rvcw-f68w-8h8h","https://www.npmjs.com/package/jose-node-cjs-runtime"],"products":["jose-node-cjs-runtime_project:jose-node-cjs-runtime"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-29446","score":0.01067,"percentile":0.64803,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rvcw-f68w-8h8h","url":"https://osv.dev/vulnerability/GHSA-rvcw-f68w-8h8h","summary":"Padding Oracle Attack due to Observable Timing Discrepancy in jose-node-cjs-runtime","modified":"2026-07-08T06:01:00.776292332Z","packages":[{"ecosystem":"npm","name":"jose-node-cjs-runtime","purl":"pkg:npm/jose-node-cjs-runtime","ranges":["<3.11.4"],"fixed":["3.11.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}