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

Base Score
7.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score
Exploitation Probability
0.311

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2022-29217 are fixed in Python-pyjwt 2.4.0Windows
Python implementation of JSON Web Token (USN-5526-1) python-jwt_1.5.3+ds1-1ubuntu0.1_all.debLinux
Python implementation of JSON Web Token (USN-5526-1) python3-jwt_1.7.1-2ubuntu2.1_all.debLinux
Python implementation of JSON Web Token (USN-5526-1) python3-jwt_2.3.0-1ubuntu0.2_all.debLinux
Python implementation of JSON Web Token (USN-5526-1) python3-jwt_1.5.3+ds1-1ubuntu0.1_all.debLinux
SUSE-SU-2023:0794-1(Basesystem Module 15-SP4 ) python3-PyJWT-2.4.0-150200.3.6.2.noarch.rpmLinux
python-jwt Security Update (ALAS-2023-076) python3-jwt-2.4.0-1.amzn2023.0.1.noarch.rpmLinux
python-jwt Security Update (ALAS-2023-076) python3-jwt+crypto-2.4.0-1.amzn2023.0.1.noarch.rpmLinux
python-jwt Security Update (ALAS2023-2023-076) python3-jwt-2.4.0-1.amzn2023.0.1.noarch.rpmLinux
python-jwt Security Update (ALAS2023-2023-076) python3-jwt+crypto-2.4.0-1.amzn2023.0.1.noarch.rpmLinux
Vulnerabilities CVE-2022-29217 are fixed in Python-pyjwt for linux 2.4.0Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234