PT-2022-24825

CVE-2022-39227

·

Published

2022-09-01

·

Updated

2024-07-10

Description by

CVSS 4.0
9.3
Critical
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions python-jwt versions prior to 3.3.4
Description The issue allows an attacker who obtains a JSON Web Token (JWT) to arbitrarily forge its contents without knowing the secret key. This may enable the attacker to spoof other users' identities, hijack their sessions, or bypass authentication. The vulnerability is caused by an inconsistency between the JWT parsers used by python-jwt and its dependency jwcrypto.
Recommendations For python-jwt versions prior to 3.3.4, upgrade to version 3.3.4 to resolve the issue. As a temporary workaround, consider restricting the use of the verify jwt function until a patch is available. Avoid using the python-jwt module for authentication until the issue is resolved. There are no known workarounds other than upgrading to the fixed version.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-5P8V-58QM-C7FP
AZL-11032
PYSEC-2022-259
Found an issue in the description? Have something to add? Feel free to write us 👾