ADVISORIES

SUSE Security Update

SUSE-SU-2023:0794-1

Security update for python-PyJWT

Details

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

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise Module for Basesystem 15 SP4python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSpython-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSpython-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSpython-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Linux Enterprise Real Time 15 SP3python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Linux Enterprise Server 15 SP2-LTSSpython-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Linux Enterprise Server 15 SP3-LTSSpython-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Linux Enterprise Server for SAP Applications 15 SP2python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Linux Enterprise Server for SAP Applications 15 SP3python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Manager Proxy 4.2python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Manager Server 4.2python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Enterprise Storage 7python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
SUSE:Enterprise Storage 7.1python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)
openSUSE:Leap 15.4python-PyJWT
All versions before 2.4.0-150200.3.6.2 (fixed in 2.4.0-150200.3.6.2)

References