{"id":"EUVD-2021-0760","enisaUuid":"e57f481a-6f54-3d45-95e3-4bd4c828d14d","description":"jose-node-esm-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:50:13 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-4v4g-726h-xvfv\nhttps://www.npmjs.com/package/jose-node-esm-runtime\n","aliases":"CVE-2021-29445\nGHSA-4v4g-726h-xvfv\n","assigner":"GitHub_M","epss":1.07,"enisaIdProduct":[{"id":"9aa7bcdc-05d5-3a55-be58-4953c0fc3d68","product":{"name":"jose-node-esm-runtime","vendor":{"name":"panva"}},"product_version":"\u003c 3.11.4"}],"enisaIdVendor":[{"id":"77acdeda-6fb7-3e85-b701-d71dfe201ca3","vendor":{"name":"panva"}}],"enisaIdVulnerability":[{"id":"268ec530-d3ee-3217-a373-5d13d7c090c0","vulnerability":{"id":"CVE-2021-29445","description":"jose-node-esm-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:50:13 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-4v4g-726h-xvfv\nhttps://www.npmjs.com/package/jose-node-esm-runtime\n","enisa_id":"EUVD-2021-0760\n","assigner":"GitHub_M","epss":1.07,"dataProcessed":"Nov 22, 2026, 7:17:34 AM","vulnerabilityProduct":[{"id":"67043e2d-90cf-387d-bc45-b2f9d3a4431d","product":{"name":"jose-node-esm-runtime","vendor":{"name":"panva"}},"product_version":"\u003c 3.11.4"}],"vulnerabilityVendor":[{"id":"54aba749-3c3c-3f54-ba4b-0075ef3ddf42","vendor":{"name":"panva"}}]}},{"id":"70ff33d3-ff31-36bd-b166-bc53c5cc2ed9","vulnerability":{"id":"GHSA-4v4g-726h-xvfv","description":"Padding Oracle Attack due to Observable Timing Discrepancy in jose-node-esm-runtime","datePublished":"Apr 19, 2021, 2:59:06 PM","dateUpdated":"Mar 17, 2023, 5:49:46 PM","baseScore":null,"references":"https://github.com/panva/jose/security/advisories/GHSA-4v4g-726h-xvfv\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-29445\nhttps://github.com/panva/jose\nhttps://www.npmjs.com/package/jose-node-esm-runtime\n","enisa_id":"EUVD-2021-0760\n","aliases":"GHSA-4v4g-726h-xvfv\nCVE-2021-29445\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}