Security update for python-PyJWT

Announcement ID: SUSE-SU-2023:0794-1
Rating: critical
References:
Cross-References:
CVSS scores:
  • CVE-2022-29217 ( SUSE ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • CVE-2022-29217 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected Products:
  • Basesystem Module 15-SP4
  • openSUSE Leap 15.4
  • SUSE Enterprise Storage 7
  • SUSE Enterprise Storage 7.1
  • SUSE Linux Enterprise Desktop 15 SP4
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP3
  • SUSE Linux Enterprise High Performance Computing 15 SP4
  • SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3
  • SUSE Linux Enterprise High Performance Computing LTSS 15 SP3
  • SUSE Linux Enterprise Real Time 15 SP3
  • SUSE Linux Enterprise Real Time 15 SP4
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2
  • SUSE Linux Enterprise Server 15 SP3
  • SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3
  • SUSE Linux Enterprise Server 15 SP4
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • SUSE Manager Proxy 4.2
  • SUSE Manager Proxy 4.3
  • SUSE Manager Retail Branch Server 4.2
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.2
  • SUSE Manager Server 4.3

An update that solves one vulnerability, contains four features and has two security fixes can now be installed.

Description:

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

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.4
    zypper in -t patch openSUSE-SLE-15.4-2023-794=1
  • Basesystem Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP4-2023-794=1
  • SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP2-LTSS-2023-794=1
  • SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP3-ESPOS-2023-794=1
  • SUSE Linux Enterprise High Performance Computing LTSS 15 SP3
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP3-LTSS-2023-794=1
  • SUSE Linux Enterprise Real Time 15 SP3
    zypper in -t patch SUSE-SLE-Product-RT-15-SP3-2023-794=1
  • SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2
    zypper in -t patch SUSE-SLE-Product-SLES-15-SP2-LTSS-2023-794=1
  • SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3
    zypper in -t patch SUSE-SLE-Product-SLES-15-SP3-LTSS-2023-794=1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP2-2023-794=1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP3
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP3-2023-794=1
  • SUSE Manager Proxy 4.2
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Proxy-4.2-2023-794=1
  • SUSE Manager Retail Branch Server 4.2
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.2-2023-794=1
  • SUSE Manager Server 4.2
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Server-4.2-2023-794=1
  • SUSE Enterprise Storage 7.1
    zypper in -t patch SUSE-Storage-7.1-2023-794=1
  • SUSE Enterprise Storage 7
    zypper in -t patch SUSE-Storage-7-2023-794=1

Package List:

  • openSUSE Leap 15.4 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • Basesystem Module 15-SP4 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Linux Enterprise Real Time 15 SP3 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP3 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Manager Proxy 4.2 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Manager Retail Branch Server 4.2 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Manager Server 4.2 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Enterprise Storage 7.1 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2
  • SUSE Enterprise Storage 7 (noarch)
    • python3-PyJWT-2.4.0-150200.3.6.2

References: