Timing Attack Affecting jose package, versions <1.28.1 >=2.0.0 <2.0.5 >=3.0.0 <3.11.4


0.0
medium

Snyk CVSS

    Attack Complexity High
    Confidentiality High

    Threat Intelligence

    EPSS 0.15% (51st percentile)
Expand this section
NVD
5.9 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-JOSE-1251487
  • published 18 Apr 2021
  • disclosed 18 Apr 2021
  • credit Morgan Brown

How to fix?

Upgrade jose to version 1.28.1, 2.0.5, 3.11.4 or higher.

Overview

jose is an Universal 'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK with no dependencies

Affected versions of this package are vulnerable to Timing Attack. A difference in task execution timing may be observed in the AES_CBC_HMAC_SHA2 Algorithm when a padding error occurs during decryption, which may allow a malicious actor to decrypt data without the key.

References