Advisory

PYSEC-2022-259

Also known as: CVE-2022-39227, GHSA-5p8v-58qm-c7fp

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2022-09-01 18:51 UTC
Modified
2023-11-08 04:10 UTC

Affected packages and fixes

python-jwt

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.3.4 (ecosystem)

Fixed versions

3.3.4

Fix

  • Fixed version 3.3.4
    pip install --upgrade python-jwt==3.3.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences