CVE-2022-29217
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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2022-29217 are fixed in Python-pyjwt 2.4.0 | Windows |
| Python implementation of JSON Web Token (USN-5526-1) python-jwt_1.5.3+ds1-1ubuntu0.1_all.deb | Linux |
| Python implementation of JSON Web Token (USN-5526-1) python3-jwt_1.7.1-2ubuntu2.1_all.deb | Linux |
| Python implementation of JSON Web Token (USN-5526-1) python3-jwt_2.3.0-1ubuntu0.2_all.deb | Linux |
| Python implementation of JSON Web Token (USN-5526-1) python3-jwt_1.5.3+ds1-1ubuntu0.1_all.deb | Linux |
| SUSE-SU-2023:0794-1(Basesystem Module 15-SP4 ) python3-PyJWT-2.4.0-150200.3.6.2.noarch.rpm | Linux |
| python-jwt Security Update (ALAS-2023-076) python3-jwt-2.4.0-1.amzn2023.0.1.noarch.rpm | Linux |
| python-jwt Security Update (ALAS-2023-076) python3-jwt+crypto-2.4.0-1.amzn2023.0.1.noarch.rpm | Linux |
| python-jwt Security Update (ALAS2023-2023-076) python3-jwt-2.4.0-1.amzn2023.0.1.noarch.rpm | Linux |
| python-jwt Security Update (ALAS2023-2023-076) python3-jwt+crypto-2.4.0-1.amzn2023.0.1.noarch.rpm | Linux |
| Vulnerabilities CVE-2022-29217 are fixed in Python-pyjwt for linux 2.4.0 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234