Skip to main content
← All vulnerabilities
CVE-2022-39227GHSA-5P8V-58QM-C7FPPYSEC-2022-259

Python-jwt subject to Authentication Bypass by Spoofing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.4
3 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

python-jwt is a module for generating and verifying JSON Web Tokens. Versions prior to 3.3.4 are subject to Authentication Bypass by Spoofing, resulting in identity spoofing, session hijacking or authentication bypass. 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. Users should upgrade to version 3.3.4. There are no known workarounds.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • davedoesdev python-jwt

    fixed in 3.3.4

  • python-jwtPyPI

    fixed in 3.3.4

  • python-jwtPyPI

    From 3.0.0 · fixed in 3.3.4

References 7

GitHub · davedoesdev/python-jwt

GitHub · pypa/advisory-database

vicarius.io

GitHub · NoSpaceAvailable/CVE-2022-39227

GitHub · melikesraoz/cve-2022-39227-jwt-auth-bypass-demo

GitHub · user0x1337/CVE-2022-39227