Описание
Security update for python-PyJWT
This update for python-PyJWT fixes the following issues:
- CVE-2026-102268: an attacker who knows the public key can forge authenticated HMAC tokens (bsc#1283065).
- CVE-2026-102270: an attacker can cause intensive CPU consumption (bsc#1283067).
Список пакетов
SUSE Linux Enterprise Module for Public Cloud 12
Ссылки
- Link for SUSE-SU-2026:5093-1
- E-Mail link for SUSE-SU-2026:5093-1
- SUSE Security Ratings
- SUSE Bug 1283065
- SUSE Bug 1283067
- SUSE CVE CVE-2026-102268 page
- SUSE CVE CVE-2026-102270 page
Описание
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, is_pem_format in jwt/utils.py is affected because is_pem_format does not recognize every PEM representation accepted by the cryptography loader. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a mutated public-key PEM as raw key bytes. As a result, HMACAlgorithm.prepare_key treats the unrecognized asymmetric public key as an HMAC secret. Consequently, an attacker who knows the public key can forge authenticated HMAC tokens. This issue is fixed in version 2.14.0.
Затронутые продукты
Ссылки
- CVE-2026-102268
- SUSE Bug 1283065
Описание
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.
Затронутые продукты
Ссылки
- CVE-2026-102270
- SUSE Bug 1283067