CVE-2020-10594
JSON

9.1critical

Django Rest Framework jwt allows obtaining new token from notionally invalidated token

Severity
9.1critical CVSS:3.1 by NVD
Exploit likelihood
1.62% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-fpjm-rp2g-3r4cPYSEC-2020-40

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
drf-jwt (PyPI)from 1.15.0 before 1.15.1GitHub Advisory Database, PyPA Advisory Database
styria django-rest-framework-json_web_tokensfrom 1.15.0 before 1.15.1NVD

All scores

GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Se detectó un problema en drf-jwt versiones 1.15.x anteriores a 1.15.1. Permite a atacantes con acceso a un token nocionalmente invalidado obtener un nuevo token de trabajo por medio del endpoint de actualización, porque el mecanismo de protección de lista negra es incompatible con la funcionalidad token-refresh. NOTA: drf-jwt es una derivación de jpadilla/django-rest-framework-jwt, que no es mantenida.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-10594 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-fpjm-rp2g-3r4c changed 2025-02-21CC-BY-4.0
NVDCVE-2020-10594 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-40 changed 2023-11-08CC-BY-4.0