Skip to content

CVE-2020-10594 Django Rest Framework jwt allows obtaining new token from notionally invalidated token

CriticalCVSS 9.1 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi drf-jwt(PyPI) = 1.15.0; >= 1.15.0, < 1.15.1 1.15.1 Fixed
styria django-rest-framework-json web tokens >= 1.15.0, < 1.15.1 1.15.1 Fixed

Affected products

ProductAffected versionsFixed in
pypi drf-jwt(PyPI) >= 1.15.0, < 1.15.1 1.15.1
pypi drf-jwt(PyPI) = 1.15.0 No fix listed
styria django-rest-framework-json web tokens >= 1.15.0, < 1.15.1 1.15.1

References