Timing Attack

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

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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.

Remediation

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

References

CVSS Score

5.9
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Credit
Morgan Brown
CVE
CVE-2021-29443
CWE
CWE-208
Snyk ID
SNYK-JS-JOSE-1251487
Disclosed
18 Apr, 2021
Published
18 Apr, 2021