Vulnerability record · OpenEuler 22.03-LTS-SP4
An update for python-jwt is now available for openEuler-22.03-LTS-SP4
OpenEuler 22.03-LTS-SP4
What it fixes
Synopsis:
python-jwt security updateSummary:
An update for python-jwt is now available for openEuler-22.03-LTS-SP4Description:
setup.py test %endif
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT PyJWKClient is affected because redirect destinations are not revalidated against the JWKS trust boundary. This occurs when a configured trusted JWKS endpoint returns an attacker-influenced redirect. As a result, PyJWKClient follows the redirect and consumes the redirected response as key material. Consequently, forwarded credentials may be disclosed or verification keys may be substituted. This issue is fixed in version 2.14.0.(CVE-2026-102267)
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)
PyJWT is a Python implementation of JSON Web Token standards. From 2.4.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because asymmetric-key guard relies on textual markers that are absent from DER encoding. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a DER public key as the shared verification key. As a result, PyJWT uses public DER bytes 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-102271)Topic:
An update for python-jwt is now available for openEuler-22.03-LTS-SP4.
openEuler Security has rated this update as having a security impact of…
Manual fix · OpenEuler 22.03-LTS-SP4
sudo dnf upgrade python-jwt python-jwt-help python3-jwtrpm -q python-jwt python-jwt-help python3-jwtSources