Hexret
CVE-2022-39227critical 9.1PoC available

python-jwt token forgery via compact/JSON parser differential

Two different JWT parsers disagree: the signature is verified over one serialization while the claims that get returned are read from another, so an attacker holding a single valid token forges arbitrary claims without the signing key.

Product
python-jwt
Vendor
davedoesdev (python-jwt)
Affected
< 3.3.4
Fixed in
3.3.4
Weakness
CWE-290
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
23 Sep 2022

Practice this CVE, free

Classified as

References

Related CVEs