CVE-2022-29217
Summary
| CVE | CVE-2022-29217 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-05-24 15:15:00 UTC |
| Updated | 2023-11-07 03:45:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] Fedora 35 Update: python-jwt-2.4.0-1.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 36 Update: python-jwt-2.4.0-1.fc36 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: python-jwt-2.4.0-1.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 36 Update: python-jwt-2.4.0-1.fc36 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Release 2.4.0 · jpadilla/pyjwt · GitHub |
MISC |
github.com |
|
| Key confusion through non-blocklisted public key formats · Advisory · jpadilla/pyjwt · GitHub |
CONFIRM |
github.com |
|
| Merge pull request from GHSA-ffqj-6fqr-9h24 · jpadilla/pyjwt@9c52867 · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 183666 Debian Security Update for pyjwt (CVE-2022-29217)
- 198867 Ubuntu Security Notification for PyJWT Vulnerability (USN-5526-1)
- 282767 Fedora Security Update for python (FEDORA-2022-3cf456dc20)
- 282784 Fedora Security Update for python (FEDORA-2022-4ae9110f51)
- 354503 Amazon Linux Security Advisory for python-jwt : ALAS2022-2022-241
- 354571 Amazon Linux Security Advisory for python-jwt : ALAS-2022-241
- 355238 Amazon Linux Security Advisory for python-jwt : ALAS2023-2023-076
- 502342 Alpine Linux Security Update for py3-jwt
- 672113 EulerOS Security Update for python-jwt (EulerOS-SA-2022-2331)
- 672134 EulerOS Security Update for python-jwt (EulerOS-SA-2022-2302)
- 672171 EulerOS Security Update for python-jwt (EulerOS-SA-2022-2434)
- 672176 EulerOS Security Update for python-jwt (EulerOS-SA-2022-2421)
- 752351 SUSE Enterprise Linux Security Update for python-PyJWT (SUSE-SU-2022:2402-1)
- 752355 SUSE Enterprise Linux Security Update for python-PyJWT (SUSE-SU-2022:2403-1)
- 753125 SUSE Enterprise Linux Security Update for python-PyJWT (SUSE-SU-2022:3545-1)
- 753811 SUSE Enterprise Linux Security Update for python-PyJWT (SUSE-SU-2023:0794-1)
- 902133 Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (9843)
- 902140 Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (9852)
- 902308 Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (9852-1)
- 902487 Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (9843-1)