Advisories

Web-Token jwt-framework before 3.4.10 DoS via Unbounded PBES2 p2c Iteration Count

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-770 Allocation of Resources Without Limits or Throttling
CVSS
8.7
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/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.10, 4.0.0 before 4.0.7, and 4.1.0 before 4.1.7 contain an uncontrolled resource consumption vulnerability in PBES2AESKW::unwrapKey(), which passes the attacker-controlled p2c JWE header value to hash_pbkdf2() without an upper bound. Unauthenticated attackers can send a JWE using a PBES2-HS*+A*KW algorithm with a huge p2c iteration count to force lengthy PBKDF2 computations and exhaust server CPU.

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.