{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-29443","published":"2021-04-16T18:15:13.590000Z","last_modified":"2026-06-22T03:10:06.180000Z","status":"Modified","cvss":{"version":"3.1","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-203"],"cpes":[{"criteria":"cpe:2.3:a:panva:jose:*:*:*:*:*:node.js:*:*","part":"a","vendor":"panva","product":"jose","version_start_including":"1.0.0","version_end_excluding":"1.28.1"},{"criteria":"cpe:2.3:a:panva:jose:*:*:*:*:*:node.js:*:*","part":"a","vendor":"panva","product":"jose","version_start_including":"2.0.0","version_end_excluding":"2.0.5"},{"criteria":"cpe:2.3:a:panva:jose:*:*:*:*:*:node.js:*:*","part":"a","vendor":"panva","product":"jose","version_start_including":"3.0.0","version_end_excluding":"3.11.4"}],"cpes_truncated":false,"vendors":["panva"],"products":["panva/jose"],"epss":{"score":0.01167,"percentile":0.68246,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-58f5-hfqc-jgch","ecosystem":"npm","name":"jose","purl":"pkg:npm/jose","ranges":[{"introduced":"1.0.0","fixed":"1.28.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-58f5-hfqc-jgch","ecosystem":"npm","name":"jose","purl":"pkg:npm/jose","ranges":[{"introduced":"2.0.0","fixed":"2.0.5"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-58f5-hfqc-jgch","ecosystem":"npm","name":"jose","purl":"pkg:npm/jose","ranges":[{"introduced":"3.0.0","fixed":"3.11.4"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":51,"links":{"html_es":"/es/cve/CVE-2021-29443/","html_en":"/en/cve/CVE-2021-29443/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29443","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29443"},"untrusted":{"vendor_name":"Panva","product_name":"Jose","desc_en":"jose is an npm library providing a number of cryptographic operations. In vulnerable versions 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. 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). All major release versions have had a patch released which ensures the HMAC tag is verified before performing CBC decryption. The fixed versions are `^1.28.1 || ^2.0.5 || >=3.11.4`. Users should upgrade their v1.x dependency to ^1.28.1, their v2.x dependency to ^2.0.5, and their v3.x dependency to ^3.11.4. Thanks to Jason from Microsoft Vulnerability Research (MSVR) for bringing this up and Eva Sarafianou (@esarafianou) for helping to score this advisory.","affected":[{"untrusted_vendor":"panva","untrusted_product":"jose","versions":[]}],"references":[{"url":"https://github.com/panva/jose/security/advisories/GHSA-58f5-hfqc-jgch","tags":["Patch","Third Party Advisory"]},{"url":"https://www.npmjs.com/package/jose","tags":["Third Party Advisory"]}]}}