CVE-2022-29217
Fixed in a distro release EPSS 1%CVSS 7.4
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 algorithms are supported. The application can specify `jwt.algorithms.get_default_algorithms()` to get support for all algorithms, or specify a single algorithm. The issue is not that big as `algorithms=jwt.algorithms.get_default_algorithms()` has to be used. Users should upgrade to v2.4.0 to receive a patch for this issue. As a workaround, always be explicit with the algorithms that are accepted and expected when decoding.
Products: jpadilla pyjwt
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | pyjwt | 2.4.0 |
| PyPI | pyjwt | 9c528670c455b8d948aff95ed50e22940d1ad3fc |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2023 | python3-jwt | 2.4.0-1.amzn2023.0.1 |
| Amazon Linux 2023 | python3-jwt+crypto | 2.4.0-1.amzn2023.0.1 |
| Arch Linux | python-pyjwt | 2.4.0-1 |
| Debian 12 | pyjwt | 2.4.0-1 |
| Debian 13 | pyjwt | 2.4.0-1 |
| Debian 14 | pyjwt | 2.4.0-1 |
| SUSE Enterprise Storage 6 | python-PyJWT | 1.7.1-150100.6.7.1 |
| SUSE Enterprise Storage 7 | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Enterprise Storage 7 | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Enterprise Storage 7.1 | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | python-PyJWT | 1.7.1-150100.6.7.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | python-PyJWT | 1.7.1-150100.6.7.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP3 | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Linux Enterprise Module for Public Cloud 12 | python-PyJWT | 1.5.3-3.16.1 |
| SUSE Linux Enterprise Module for Public Cloud 15 | python-PyJWT | 1.5.3-150000.3.3.1 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP1 | python-PyJWT | 1.7.1-150100.6.7.1 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP2 | python-PyJWT | 1.7.1-150100.6.7.1 |
| SUSE Linux Enterprise Real Time 15 SP3 | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise Server 15 SP1-BCL | python-PyJWT | 1.7.1-150100.6.7.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | python-PyJWT | 1.7.1-150100.6.7.1 |
| SUSE Linux Enterprise Server 15 SP2-BCL | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | python-PyJWT | 1.7.1-150100.6.7.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Manager Proxy 4.1 | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Manager Proxy 4.2 | python-PyJWT | 2.4.0-150200.3.6.2 |
| SUSE Manager Retail Branch Server 4.1 | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Manager Server 4.1 | python-PyJWT | 1.7.1-150200.3.3.1 |
| SUSE Manager Server 4.2 | python-PyJWT | 2.4.0-150200.3.6.2 |
| Ubuntu 18.04 LTS | pyjwt | 1.5.3+ds1-1ubuntu0.1 |
| Ubuntu 20.04 LTS | pyjwt | 1.7.1-2ubuntu2.1 |
| Ubuntu 22.04 LTS | pyjwt | 2.3.0-1ubuntu0.1 |
| Ubuntu 22.04 LTS | pyjwt | 2.3.0-1ubuntu0.2 |
| openSUSE Leap 15.3 | python-PyJWT | 1.7.1-150200.3.3.1 |
| openSUSE Leap 15.4 | python-PyJWT | 2.4.0-150200.3.6.2 |
| openSUSE Leap 15.4 | python-PyJWT | 1.7.1-150200.3.3.1 |
| openSUSE Tumbleweed | python-PyJWT | 2.10.1-2.1 |