CVE-2021-29443

Padding Oracle Attack due to Observable Timing Discrepancy in jose

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.


We have discovered 1 live websites that are affected by CVE-2021-29443.

Run a Free Instant Scan




Affected Software

Product  jose
Category JavaScript Libraries
Vulnerable Domains1 live websites (100% of jose install base)
Vulnerable Versions
  • from 0 through 1.28.1
  • from 2 through 2.0.5
  • from 3 through 3.11.4
Vulnerable Versions Count0 versions ( less than 0.1% of all versions)


Common Weakness Enumeration

CWE-203 Observable Discrepancy



Details

  • Published - Apr 16, 2021
  • Updated - Aug 3, 2024

Website Distribution by Country

Number of websites using CVE-2021-29443
Germany1 websites

Website Distribution by TLD

Number of websites using CVE-2021-29443
.com1 websites

Websites affected by CVE-2021-29443

Top websites that are affected by CVE-2021-29443. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
*********.com Germany**,***,***
See full domain list

FAQ

CVE-2021-29443 is Observable Discrepancy in jose
A total of 1 websites have been identified as vulnerable to CVE-2021-29443, based on global website indexing conducted by WebTechSurvey.
The jose is affected by the CVE-2021-29443 vulnerability.
jose versions up to 3.11.4 are vulnerable to CVE-2021-29443.
CVE-2021-29443 is resolved in version 3.11.4 of jose.