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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (53rd percentile)

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 IDSNYK-JS-JOSE-1251487
  • published18 Apr 2021
  • disclosed18 Apr 2021
  • creditMorgan Brown

Introduced: 18 Apr 2021

CVE-2021-29443  (opens in a new tab)
CWE-208  (opens in a new tab)

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

CVSS Scores

version 3.1