Skip to content
OpenAdvisories
High SUSE-SU-2023:0794-1 1 CVE

Security update for python-PyJWT

Published Mar 17, 2023 · Updated Feb 4, 2026

Summary

This update for python-PyJWT fixes the following issues:

- CVE-2022-29217: Fixed Key confusion through non-blocklisted public key formats (bsc#1199756).

- Update in SLE-15 (bsc#1199282, jsc#PM-3243, jsc#SLE-24629)

- Update to 2.4.0 (bsc#1199756)
- Explicit check the key for ECAlgorithm
- Don't use implicit optionals
- documentation fix: show correct scope
- fix: Update copyright information
- Don't mutate options dictionary in .decode_complete()
- Add support for Python 3.10
- api_jwk: Add PyJWKSet.__getitem__
- Update usage.rst
- Docs: mention performance reasons for reusing RSAPrivateKey
when encoding
- Fixed typo in usage.rst
- Add detached payload support for JWS encoding and decoding
- Replace various string interpolations with f-strings by

Fixed packages 14

ReleasePackageFixed in
SUSE · Enterprise Storage 7 python-PyJWT 2.4.0-150200.3.6.2
SUSE · Enterprise Storage 7.1 python-PyJWT 2.4.0-150200.3.6.2
openSUSE · Leap 15.4 python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-ESPOS python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLE Real Time 15 SP3 Linux Enterprise Real Time 15 SP3 python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 python-PyJWT 2.4.0-150200.3.6.2
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 python-PyJWT 2.4.0-150200.3.6.2
SUSE · Manager Proxy 4.2 python-PyJWT 2.4.0-150200.3.6.2
SUSE · Manager Server 4.2 python-PyJWT 2.4.0-150200.3.6.2

Vulnerabilities 1

  • High 7.4

    Key confusion through non-blocklisted public key formats in PyJWT

    PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can choose the used signing algorithm. The PyJWT library requires that the application chooses what algorith…

References

  • report
    https://bugzilla.suse.com/1176785
  • report
    https://bugzilla.suse.com/1199282
  • report
    https://bugzilla.suse.com/1199756
  • web
    https://www.suse.com/security/cve/CVE-2022-29217