Advisories

web-token jwt-framework before 3.4.10 RSA1_5 Bleichenbacher Padding Oracle

Go back
Severity
high
Date
Affecting
  • jwt-library >= 3.3.0, < 3.4.10

  • jwt-library >= 4.0.0, < 4.0.7

  • jwt-library >= 4.1.0, < 4.1.7

  • jwt-framework < 3.4.10

  • jwt-framework >= 4.0.0, < 4.0.7

  • jwt-framework >= 4.1.0, < 4.1.7

CWE
  • CWE-208 Observable Timing Discrepancy
CVSS
8.2
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Description
web-token jwt-framework and jwt-library before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 contain a padding oracle in RSACrypt::decryptWithRSA15() because RSA1_5 decryption lacks implicit rejection, so invalid padding, wrong CEK length, and valid padding take measurably different time. Remote attackers can submit adaptively crafted JWE encrypted_key values and measure these timing differences to recover the wrapped content encryption key.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.