ADVISORIES

PyPA Advisory Database

PYSEC-2022-259

Details

An attacker who obtains a JWT can arbitrarily forge its contents without knowing the secret key. Depending on the application, this may for example enable the attacker to spoof other user's identities, hijack their sessions, or bypass authentication.

Affected packages

EcosystemPackageAffected versions
PyPIpython-jwt
From 3.0.0 before 3.3.4 (fixed in 3.3.4)

References