Advisory

PYSEC-2020-40

Also known as: CVE-2020-10594, GHSA-fpjm-rp2g-3r4c

Summary

The record has no summary.

Details

An issue was discovered in drf-jwt 1.15.x before 1.15.1. It allows attackers with access to a notionally invalidated token to obtain a new, working token via the refresh endpoint, because the blacklist protection mechanism is incompatible with the token-refresh feature. NOTE: drf-jwt is a fork of jpadilla/django-rest-framework-jwt, which is unmaintained.

Severity

Not rated by the source.

Dates

Published
2020-03-15 22:15 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

drf-jwt

PyPI · All systems

Affected

  • introduced 1.15.0, fixed 1.15.1 (ecosystem)

Fixed versions

1.15.1

Fix

  • Fixed version 1.15.1
    pip install --upgrade drf-jwt==1.15.1

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