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.
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Pyjwt | Pyjwt_project | * | 2.14.0 (excluding) |
| Red Hat AI Inference Server 3.5 | RedHat | rhaii/vllm-rocm-rhel9:1791425869 | * |
| Red Hat AI Inference Server 3.5 | RedHat | rhaii/vllm-gaudi-rhel9:1791427182 | * |
| Red Hat AI Inference Server 3.5 | RedHat | rhaii/vllm-cuda-rhel9:1791473631 | * |
| Red Hat AI Inference Server 3.5 | RedHat | rhaii/vllm-spyre-rhel9:1791818357 | * |
| Red Hat AI Inference Server 3.5 | RedHat | rhaii/vllm-cpu-rhel9:1791473614 | * |
| Red Hat Enterprise Linux AI 3.5 | RedHat | rhelai3/disk-image-cuda-rhel9:1793206758 | * |
| Red Hat Enterprise Linux AI 3.5 | RedHat | rhelai3/bootc-aws-cuda-rhel9:1793194817 | * |
| Red Hat Enterprise Linux AI 3.5 | RedHat | rhelai3/bootc-azure-cuda-rhel9:1793194815 | * |
| Red Hat Enterprise Linux AI 3.5 | RedHat | rhelai3/bootc-azure-rocm-rhel9:1793194834 | * |
| Red Hat Enterprise Linux AI 3.5 | RedHat | rhelai3/bootc-cuda-rhel9:1793135861 | * |
| Red Hat Enterprise Linux AI 3.5 | RedHat | rhelai3/bootc-gcp-cuda-rhel9:1793194815 | * |
| Red Hat Enterprise Linux AI 3.5 | RedHat | rhelai3/bootc-rocm-rhel9:1793135863 | * |
| Pyjwt | Ubuntu | devel | * |
| Pyjwt | Ubuntu | esm-infra/bionic | * |
| Pyjwt | Ubuntu | esm-infra/focal | * |
| Pyjwt | Ubuntu | jammy | * |
| Pyjwt | Ubuntu | noble | * |
| Pyjwt | Ubuntu | resolute | * |
| Pyjwt | Ubuntu | stonking | * |
| Pyjwt | Ubuntu | upstream | * |