Vulnerability · Published Mar 15, 2020 · Assigned by mitre
CVE-2020-10594
Critical 9.1
In plain English
A critical-severity security flaw in the drf-jwt package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)1.6%top 23.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | drf-jwt | 1.15.1 | GHSA-fpjm-rp2g-3r4c |
| PyPI | drf-jwt | 1.15.1 | PYSEC-2020-40 |
Affected products (as reported)
References
- https://github.com/Styria-Digital/django-rest-framework-jwt/issues/36 x_refsource_MISC
- https://pypi.org/project/drf-jwt/1.15.1/#history x_refsource_MISC
- https://github.com/jpadilla/django-rest-framework-jwt/issues/484 x_refsource_MISC