Advisories

Web-token jwt-framework before 3.4.13 Denial of Service via Unbounded RSA Key Size

Go back
Severity
high
Date
Affecting
  • jwt-library < 3.4.13

  • jwt-library >= 4.0.0, < 4.0.9

  • jwt-library >= 4.1.0, < 4.1.11

  • jwt-library >= 4.2.0, < 4.2.6

  • jwt-framework < 3.4.13

  • jwt-framework >= 4.0.0, < 4.0.9

  • jwt-framework >= 4.1.0, < 4.1.11

  • jwt-framework >= 4.2.0, < 4.2.6

  • jwt-core <= 3.2.10

  • jwt-signature < 2.0.4

  • jwt-encryption < 2.0.4

  • jwt-signature-algorithm-rsa <= 3.2.10

  • jwt-encryption-algorithm-rsa <= 3.2.10

CWE
  • CWE-400 Uncontrolled Resource Consumption
CVSS
8.2
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
Web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 contain a denial of service vulnerability in RSAKey, which accepts RSA keys with a modulus and public exponent of unbounded length. Remote attackers can supply a crafted key, such as in the jwk header of a DPoP proof, to force seconds of CPU per PS256/PS384/PS512 verification or RSA encryption, or per any RSA operation when GMP is unavailable.

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.