{"id":"EUVD-2021-0803","enisaUuid":"ee660e72-eb63-398e-8e2e-cbb8629d95ac","description":"jose-browser-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 `\u003e\u003d3.11.4`. Users should upgrade to `^3.11.4`.","datePublished":"Apr 16, 2021, 9:45:16 PM","dateUpdated":"Aug 3, 2024, 10:02:51 PM","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr\nhttps://www.npmjs.com/package/jose-browser-runtime\n","aliases":"CVE-2021-29444\nGHSA-94hh-pjjg-rwmr\n","assigner":"GitHub_M","epss":1.07,"enisaIdProduct":[{"id":"cd03296a-cd9c-3622-b2fb-cfc7c1de8518","product":{"name":"jose","vendor":{"name":"appsup-dart"}},"product_version":"\u003c 3.11.4"}],"enisaIdVendor":[{"id":"0a77203e-2c55-3f46-885a-5a17ba51977a","vendor":{"name":"panva"}}],"enisaIdVulnerability":[{"id":"0cde5134-cb9e-306c-ae20-6aab46b1a812","vulnerability":{"id":"CVE-2021-29444","description":"jose-browser-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 `\u003e\u003d3.11.4`. Users should upgrade to `^3.11.4`.","datePublished":"Apr 16, 2021, 9:45:16 PM","dateUpdated":"Aug 3, 2024, 10:02:51 PM","status":"PUBLISHED","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr\nhttps://www.npmjs.com/package/jose-browser-runtime\n","enisa_id":"EUVD-2021-0803\n","assigner":"GitHub_M","epss":1.07,"dataProcessed":"Nov 24, 2026, 7:19:39 AM","vulnerabilityProduct":[{"id":"9da40197-826e-314b-a14a-93e5cef0e1ff","product":{"name":"jose","vendor":{"name":"appsup-dart"}},"product_version":"\u003c 3.11.4"}],"vulnerabilityVendor":[{"id":"f235b91e-3797-359f-b38e-be76866c67ca","vendor":{"name":"panva"}}]}},{"id":"7c38c7eb-1b05-3241-b8ea-96cbf362194a","vulnerability":{"id":"GHSA-94hh-pjjg-rwmr","description":"Padding Oracle Attack due to Observable Timing Discrepancy in jose-browser-runtime","datePublished":"Apr 19, 2021, 2:58:49 PM","dateUpdated":"Mar 17, 2023, 5:49:50 PM","baseScore":null,"references":"https://github.com/panva/jose/security/advisories/GHSA-94hh-pjjg-rwmr\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-29444\nhttps://github.com/panva/jose\nhttps://www.npmjs.com/package/jose-browser-runtime\n","enisa_id":"EUVD-2021-0803\n","aliases":"CVE-2021-29444\nGHSA-94hh-pjjg-rwmr\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}