CyberRota Analysis
AI-GeneratedThe PyJWT library, prior to version 2.14.0, is vulnerable to excessive CPU consumption due to unbounded backtracking in the is_pem_format function when processing malformed PEM inputs with repeated BEGIN markers. This could be exploited by an attacker to create a denial-of-service condition. Organizations using affected versions of PyJWT should prioritize upgrading to version 2.14.0 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT is_pem_format is affected because lazy PEM regular expression backtracks extensively. This occurs when a certificate-like input contains repeated BEGIN markers without a matching END marker. As a result, is_pem_format performs unbounded backtracking while searching for a PEM end marker. Consequently, an attacker can cause intensive CPU consumption. This issue is fixed in version 2.14.0.
Related CVEs
Other vulnerabilities affecting the same vendor(s)